Help us shape the future of Go! Take the 2026 Go Developer Survey

theme

package
v1.233.1 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 License: Apache-2.0 Imports: 14 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.

func ThemesArgCompletion added in v1.202.0

func ThemesArgCompletion(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)

ThemesArgCompletion provides auto-completion for theme names.

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

func (*ThemeCommandProvider) IsExperimental added in v1.205.0

func (t *ThemeCommandProvider) IsExperimental() bool

IsExperimental returns whether this command is experimental.

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