k3s/pkg/cli/cmds/crictl.go

15 lines
261 B
Go

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