Documentation ¶
Index ¶
- type Version
- func (v *Version) GetDescription() string
- func (v *Version) GetFlagSet() *flag.FlagSet
- func (v *Version) GetHelpFlag() *bool
- func (v *Version) GetName() string
- func (v *Version) GetSubCommands() []cli.Command
- func (v *Version) Init(helpFlagName string, helpFlagDescription string)
- func (v *Version) Process()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Version ¶
type Version struct {
// contains filtered or unexported fields
}
Version holds data for the version sub-command
func (*Version) GetDescription ¶
GetDescription returns the description for the version sub-command
func (*Version) GetFlagSet ¶
GetFlagSet returns a flag.FlagSet corresponding to the version sub-command
func (*Version) GetHelpFlag ¶
GetHelpFlag returns the value for the help flag in the version sub-command.
func (*Version) GetSubCommands ¶
GetSubCommands returns a list of sub-commands under the version sub-command
Click to show internal directories.
Click to hide internal directories.