Documentation
¶
Index ¶
- Variables
- type EnvCommandProvider
- func (e *EnvCommandProvider) GetAliases() []internal.CommandAlias
- func (e *EnvCommandProvider) GetCommand() *cobra.Command
- func (e *EnvCommandProvider) GetCompatibilityFlags() map[string]compat.CompatibilityFlag
- func (e *EnvCommandProvider) GetFlagsBuilder() flags.Builder
- func (e *EnvCommandProvider) GetGroup() string
- func (e *EnvCommandProvider) GetName() string
- func (e *EnvCommandProvider) GetPositionalArgsBuilder() *flags.PositionalArgsBuilder
Constants ¶
This section is empty.
Variables ¶
View Source
var SupportedFormats = []string{"bash", "json", "dotenv", "github"}
SupportedFormats lists all supported output formats.
Functions ¶
This section is empty.
Types ¶
type EnvCommandProvider ¶
type EnvCommandProvider struct{}
EnvCommandProvider implements the CommandProvider interface.
func (*EnvCommandProvider) GetAliases ¶
func (e *EnvCommandProvider) GetAliases() []internal.CommandAlias
GetAliases returns command aliases.
func (*EnvCommandProvider) GetCommand ¶
func (e *EnvCommandProvider) GetCommand() *cobra.Command
GetCommand returns the env command.
func (*EnvCommandProvider) GetCompatibilityFlags ¶
func (e *EnvCommandProvider) GetCompatibilityFlags() map[string]compat.CompatibilityFlag
GetCompatibilityFlags returns compatibility flags for this command.
func (*EnvCommandProvider) GetFlagsBuilder ¶
func (e *EnvCommandProvider) GetFlagsBuilder() flags.Builder
GetFlagsBuilder returns the flags builder for this command.
func (*EnvCommandProvider) GetGroup ¶
func (e *EnvCommandProvider) GetGroup() string
GetGroup returns the command group for help organization.
func (*EnvCommandProvider) GetName ¶
func (e *EnvCommandProvider) GetName() string
GetName returns the command name.
func (*EnvCommandProvider) GetPositionalArgsBuilder ¶
func (e *EnvCommandProvider) GetPositionalArgsBuilder() *flags.PositionalArgsBuilder
GetPositionalArgsBuilder returns the positional args builder for this command.
Click to show internal directories.
Click to hide internal directories.