mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
16 lines
302 B
Go
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,
|
|
}
|
|
}
|