mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
ae5c585050
This reverts commit e1dc3451bc
.
Signed-off-by: Darren Shepherd <darren@rancher.com>
16 lines
278 B
Go
16 lines
278 B
Go
package cmds
|
|
|
|
import (
|
|
"github.com/urfave/cli"
|
|
)
|
|
|
|
func NewCRICTL(action func(*cli.Context) error) cli.Command {
|
|
return cli.Command{
|
|
Name: "crictl",
|
|
Usage: "Run crictl",
|
|
SkipFlagParsing: true,
|
|
SkipArgReorder: true,
|
|
Action: action,
|
|
}
|
|
}
|