k3s/pkg/cli/cmds/kubectl.go
2020-07-10 10:34:00 -07:00

15 lines
271 B
Go

package cmds
import (
"github.com/rancher/spur/cli"
)
func NewKubectlCommand(action func(*cli.Context) error) *cli.Command {
return &cli.Command{
Name: "kubectl",
Usage: "Run kubectl",
SkipFlagParsing: true,
Action: action,
}
}