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

15 lines
285 B
Go
Raw Normal View History

2019-11-12 14:12:37 +00:00
package cmds
import (
2020-07-10 17:34:00 +00:00
"github.com/rancher/spur/cli"
2019-11-12 14:12:37 +00:00
)
2020-07-10 17:34:00 +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,
Action: action,
}
}