k3s/pkg/cli/cmds/ctr.go
Derek Nola ac38633c71
Migrate to UrfaveCLI v2 (#11831)
* Bump rootlesskit tov 1.1.1, last of the v1 line
* Migrate to urfavecli v2
* Disable StringSlice seperattion

Signed-off-by: Derek Nola <derek.nola@suse.com>
2025-03-12 09:02:45 -07:00

14 lines
256 B
Go

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