Files
k3s/pkg/cli/cmds/crictl.go
Derek Nola 0c7563b1b5 Migrate to UrfaveCLI v2 (#11831) (#12031)
* 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-31 13:39:57 -07:00

15 lines
258 B
Go

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