k3s/pkg/cli/cmds/ctr.go

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