k3s/pkg/cli/cmds/check-config.go

16 lines
302 B
Go
Raw Normal View History

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