k3s/pkg/cli/cmds/check-config.go
2019-11-13 08:34:24 -07:00

16 lines
302 B
Go

package cmds
import (
"github.com/urfave/cli"
)
func NewCheckConfigCommand(action func(*cli.Context) error) cli.Command {
return cli.Command{
Name: "check-config",
Usage: "Run config check",
SkipFlagParsing: true,
SkipArgReorder: true,
Action: action,
}
}