k3s/pkg/cli/cmds/kubectl.go

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,
}
}