k3s/pkg/cli/cmds/kubectl.go

16 lines
288 B
Go
Raw Normal View History

2019-01-09 16:54:15 +00:00
package cmds
import (
"github.com/urfave/cli"
)
func NewKubectlCommand(action func(*cli.Context) error) cli.Command {
return cli.Command{
Name: "kubectl",
Usage: "Run kubectl",
SkipFlagParsing: true,
SkipArgReorder: true,
Action: action,
}
}