Documentation
¶
Index ¶
- func SetAtmosConfig(config *schema.AtmosConfiguration)
- type ThemeCommandProvider
- func (t *ThemeCommandProvider) GetAliases() []internal.CommandAlias
- func (t *ThemeCommandProvider) GetCommand() *cobra.Command
- func (t *ThemeCommandProvider) GetCompatibilityFlags() map[string]compat.CompatibilityFlag
- func (t *ThemeCommandProvider) GetFlagsBuilder() flags.Builder
- func (t *ThemeCommandProvider) GetGroup() string
- func (t *ThemeCommandProvider) GetName() string
- func (t *ThemeCommandProvider) GetPositionalArgsBuilder() *flags.PositionalArgsBuilder
- type ThemeListOptions
- type ThemeShowOptions
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 theme commands. This is called from root.go after atmosConfig is initialized.
Types ¶
type ThemeCommandProvider ¶
type ThemeCommandProvider struct{}
ThemeCommandProvider implements the CommandProvider interface.
func (*ThemeCommandProvider) GetAliases ¶ added in v1.199.0
func (t *ThemeCommandProvider) GetAliases() []internal.CommandAlias
GetAliases returns command aliases. Theme command has no aliases.
func (*ThemeCommandProvider) GetCommand ¶
func (t *ThemeCommandProvider) GetCommand() *cobra.Command
GetCommand returns the theme command.
func (*ThemeCommandProvider) GetCompatibilityFlags ¶ added in v1.200.0
func (t *ThemeCommandProvider) GetCompatibilityFlags() map[string]compat.CompatibilityFlag
func (*ThemeCommandProvider) GetFlagsBuilder ¶ added in v1.200.0
func (t *ThemeCommandProvider) GetFlagsBuilder() flags.Builder
func (*ThemeCommandProvider) GetGroup ¶
func (t *ThemeCommandProvider) GetGroup() string
GetGroup returns the command group for help organization.
func (*ThemeCommandProvider) GetName ¶
func (t *ThemeCommandProvider) GetName() string
GetName returns the command name.
func (*ThemeCommandProvider) GetPositionalArgsBuilder ¶ added in v1.200.0
func (t *ThemeCommandProvider) GetPositionalArgsBuilder() *flags.PositionalArgsBuilder
type ThemeListOptions ¶ added in v1.199.0
type ThemeListOptions struct {
RecommendedOnly bool
}
ThemeListOptions holds the options for theme list command.
type ThemeShowOptions ¶ added in v1.199.0
type ThemeShowOptions struct {
ThemeName string
}
ThemeShowOptions holds the options for theme show command.
Click to show internal directories.
Click to hide internal directories.