Documentation ¶
Index ¶
- type Index
- func (index *Index) GetDescription() string
- func (index *Index) GetFlagSet() *flag.FlagSet
- func (index *Index) GetHelpFlag() *bool
- func (index *Index) GetName() string
- func (index *Index) GetSubCommands() []cli.Command
- func (index *Index) Init(helpFlagName string, helpFlagDescription string)
- func (index *Index) Process()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Index ¶
type Index struct {
// contains filtered or unexported fields
}
Index deals with commands related to resource indexes
func (*Index) GetDescription ¶
GetDescription returns the description for the index command
func (*Index) GetFlagSet ¶
GetFlagSet returns a pointer to the flag.FlagSet associated to the command
func (*Index) GetHelpFlag ¶
GetHelpFlag returns a pointer to the initialized help flag for the command
func (*Index) GetSubCommands ¶
GetSubCommands returns a slice of subcommands under the index command (expect empty slice if none)
Click to show internal directories.
Click to hide internal directories.