func NewCheckCommand(options *options.DaemonOptions) cli.Command {
	return cli.Command{
		Name:  "check",
		Usage: "check local dependency for ktctl",
		Action: func(c *cli.Context) error {
			if options.Debug {
				zerolog.SetGlobalLevel(zerolog.DebugLevel)
			}
			return Check(options)
		},
	}
}
// NewCheckCommand return new check command
NewCheckCommand return new check command
// NewCheckCommand return new check command
func NewCheckCommand(options *options.DaemonOptions) cli.Command {
	return cli.Command{
		Name:  "check",
		Usage: "check local dependency for ktctl",
		Action: func(c *cli.Context) error {
			if options.Debug {
				zerolog.SetGlobalLevel(zerolog.DebugLevel)
			}
			return Check(options)
		},
	}
}
func NewCheckCommand ( options * options . DaemonOptions ) cli . Command { return cli . Command { Name : " " , Usage : " " , Action : func ( c * cli . Context ) error { if options . Debug { zerolog . SetGlobalLevel ( zerolog . DebugLevel ) } return Check ( options ) } , } }
NewCheckCommand return new check command
NewCheckCommand return new check command