// NewCmdOptions implements the options command func NewCmdOptions(out io.Writer) *cobra.Command { cmd := &cobra.Command{ Use: "options", Run: func(cmd *cobra.Command, args []string) { cmd.Usage() }, } templates.UseOptionsTemplates(cmd) return cmd }
// NewCmdOptions implements the options command func NewCmdOptions(out io.Writer) *cobra.Command { cmd := &cobra.Command{ Use: "options", Short: "Print the list of flags inherited by all commands", Long: "Print the list of flags inherited by all commands", Example: options_example, Run: func(cmd *cobra.Command, args []string) { cmd.Usage() }, } templates.UseOptionsTemplates(cmd) return cmd }