k3s/pkg/cli/cmds/crictl.go

15 lines
261 B
Go
Raw Normal View History

2019-02-08 04:08:10 +00:00
package cmds
import (
2020-07-10 17:34:00 +00:00
"github.com/rancher/spur/cli"
2019-02-08 04:08:10 +00:00
)
2020-07-10 17:34:00 +00:00
func NewCRICTL(action func(*cli.Context) error) *cli.Command {
return &cli.Command{
2019-02-08 04:08:10 +00:00
Name: "crictl",
Usage: "Run crictl",
SkipFlagParsing: true,
Action: action,
}
}