Documentation
¶
Index ¶
- type AboutCommandProvider
- func (a *AboutCommandProvider) GetAliases() []internal.CommandAlias
- func (a *AboutCommandProvider) GetCommand() *cobra.Command
- func (a *AboutCommandProvider) GetCompatibilityFlags() map[string]compat.CompatibilityFlag
- func (a *AboutCommandProvider) GetFlagsBuilder() flags.Builder
- func (a *AboutCommandProvider) GetGroup() string
- func (a *AboutCommandProvider) GetName() string
- func (a *AboutCommandProvider) GetPositionalArgsBuilder() *flags.PositionalArgsBuilder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AboutCommandProvider ¶
type AboutCommandProvider struct{}
AboutCommandProvider implements the CommandProvider interface.
func (*AboutCommandProvider) GetAliases ¶ added in v1.199.0
func (a *AboutCommandProvider) GetAliases() []internal.CommandAlias
GetAliases returns command aliases. About command has no aliases.
func (*AboutCommandProvider) GetCommand ¶
func (a *AboutCommandProvider) GetCommand() *cobra.Command
GetCommand returns the about command.
func (*AboutCommandProvider) GetCompatibilityFlags ¶ added in v1.198.0
func (a *AboutCommandProvider) GetCompatibilityFlags() map[string]compat.CompatibilityFlag
GetCompatibilityFlags returns compatibility flags for this command. About command has no compatibility flags.
func (*AboutCommandProvider) GetFlagsBuilder ¶ added in v1.198.0
func (a *AboutCommandProvider) GetFlagsBuilder() flags.Builder
GetFlagsBuilder returns the flags builder for this command. About command has no flags.
func (*AboutCommandProvider) GetGroup ¶
func (a *AboutCommandProvider) GetGroup() string
GetGroup returns the command group for help organization.
func (*AboutCommandProvider) GetName ¶
func (a *AboutCommandProvider) GetName() string
GetName returns the command name.
func (*AboutCommandProvider) GetPositionalArgsBuilder ¶ added in v1.198.0
func (a *AboutCommandProvider) GetPositionalArgsBuilder() *flags.PositionalArgsBuilder
GetPositionalArgsBuilder returns the positional args builder for this command. About command has no positional arguments.
Click to show internal directories.
Click to hide internal directories.