Documentation
¶
Index ¶
- func Box(title, message string)
- func DebugUI()
- func Error(format string, args ...any)
- func GetAvailableThemes() []string
- func GetCurrentTheme() *themes.Theme
- func GetCustomThemeKeys() []string
- func GetDarkThemes() []string
- func GetHuhPrimaryTheme() *huh.Theme
- func GetLightThemes() []string
- func Primary(format string, args ...any)
- func PrintAction(format string, args ...any)
- func PrintThemeList()
- func RegisterCustomThemes(pathMap map[string]string)
- func RenderTitle(text string)
- func SetTheme(name string) bool
- func Success(format string, args ...any)
- func Warning(format string, args ...any)
- func WithSpinner(message string, fn func() error) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAvailableThemes ¶
func GetAvailableThemes() []string
func GetCurrentTheme ¶
func GetCustomThemeKeys ¶
func GetCustomThemeKeys() []string
GetCustomThemeKeys returns sorted keys of all registered custom themes.
func GetDarkThemes ¶
func GetDarkThemes() []string
func GetHuhPrimaryTheme ¶
func GetLightThemes ¶
func GetLightThemes() []string
func PrintAction ¶
func PrintThemeList ¶
func PrintThemeList()
func RegisterCustomThemes ¶
RegisterCustomThemes loads custom themes from the config directory and from explicit path mappings (custom_themes config field). Call this after config is loaded.
func RenderTitle ¶
func RenderTitle(text string)
func WithSpinner ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.