ui

package
v0.0.0-...-a0986ef Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Box

func Box(title, message string)

func DebugUI

func DebugUI()

func Error

func Error(format string, args ...any)

func GetAvailableThemes

func GetAvailableThemes() []string

func GetCurrentTheme

func GetCurrentTheme() *themes.Theme

func GetCustomThemeKeys

func GetCustomThemeKeys() []string

GetCustomThemeKeys returns sorted keys of all registered custom themes.

func GetDarkThemes

func GetDarkThemes() []string

func GetHuhPrimaryTheme

func GetHuhPrimaryTheme() *huh.Theme

func GetLightThemes

func GetLightThemes() []string

func Primary

func Primary(format string, args ...any)

func PrintAction

func PrintAction(format string, args ...any)

func PrintThemeList

func PrintThemeList()

func RegisterCustomThemes

func RegisterCustomThemes(pathMap map[string]string)

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 SetTheme

func SetTheme(name string) bool

func Success

func Success(format string, args ...any)

func Warning

func Warning(format string, args ...any)

func WithSpinner

func WithSpinner(message string, fn func() error) error

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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