theme

package
v1.200.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 24, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL