Documentation
¶
Index ¶
- func SetAtmosConfig(config *schema.AtmosConfiguration)
- type CommandProvider
- func (p *CommandProvider) GetAliases() []internal.CommandAlias
- func (p *CommandProvider) GetCommand() *cobra.Command
- func (p *CommandProvider) GetCompatibilityFlags() map[string]compat.CompatibilityFlag
- func (p *CommandProvider) GetFlagsBuilder() flags.Builder
- func (p *CommandProvider) GetGroup() string
- func (p *CommandProvider) GetName() string
- func (p *CommandProvider) GetPositionalArgsBuilder() *flags.PositionalArgsBuilder
- func (p *CommandProvider) IsExperimental() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetAtmosConfig ¶
func SetAtmosConfig(config *schema.AtmosConfiguration)
SetAtmosConfig sets the Atmos configuration for the stack command group.
Types ¶
type CommandProvider ¶
type CommandProvider struct{}
CommandProvider implements the registry CommandProvider interface.
func (*CommandProvider) GetAliases ¶
func (p *CommandProvider) GetAliases() []internal.CommandAlias
GetAliases returns command aliases (none).
func (*CommandProvider) GetCommand ¶
func (p *CommandProvider) GetCommand() *cobra.Command
GetCommand returns the stack command with its subcommands attached.
func (*CommandProvider) GetCompatibilityFlags ¶
func (p *CommandProvider) GetCompatibilityFlags() map[string]compat.CompatibilityFlag
GetCompatibilityFlags returns compatibility flags (none).
func (*CommandProvider) GetFlagsBuilder ¶
func (p *CommandProvider) GetFlagsBuilder() flags.Builder
GetFlagsBuilder returns the flags builder (none at the group level).
func (*CommandProvider) GetGroup ¶
func (p *CommandProvider) GetGroup() string
GetGroup returns the help group for this command.
func (*CommandProvider) GetName ¶
func (p *CommandProvider) GetName() string
GetName returns the unique command name.
func (*CommandProvider) GetPositionalArgsBuilder ¶
func (p *CommandProvider) GetPositionalArgsBuilder() *flags.PositionalArgsBuilder
GetPositionalArgsBuilder returns the positional args builder (none).
func (*CommandProvider) IsExperimental ¶
func (p *CommandProvider) IsExperimental() bool
IsExperimental reports whether the command is experimental.
Click to show internal directories.
Click to hide internal directories.