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

15 lines
259 B
Go

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