Documentation
¶
Index ¶
- Variables
- func Alert(msg string) string
- func Black(a ...any) string
- func Blackf(format string, a ...any) string
- func Blue(a ...any) string
- func Bluef(format string, a ...any) string
- func Complete(msg string) string
- func Cyan(a ...any) string
- func Cyanf(format string, a ...any) string
- func Fail(msg string) string
- func Green(a ...any) string
- func Greenf(format string, a ...any) string
- func Info(msg string) string
- func Magenta(a ...any) string
- func Magentaf(format string, a ...any) string
- func Red(a ...any) string
- func RedAlert(msg string) string
- func Redf(format string, a ...any) string
- func ThemeMinno() *huh.Theme
- func Var(variable string, value string) string
- func VarQuote(variable string, value string) string
- func White(a ...any) string
- func Whitef(format string, a ...any) string
- func Yellow(a ...any) string
- func Yellowf(format string, a ...any) string
Constants ¶
This section is empty.
Variables ¶
var ( // IconComplete is the icon for a completed task. IconComplete = "[✓] " // IconAlert is the icon for an alert. IconAlert = "[!] " // IconFailed is the icon for a failed task. IconFailed = "[✗] " // IconInfo is the icon for an informational message. IconInfo = "[i] " )
Functions ¶
func Black ¶
Black formats using the default formats for its operands and returns the resulting string with a black foreground. Spaces are added between operands when neither is a string.
func Blackf ¶
Blackf formats according to a format specifier and returns the resulting string with a black foreground.
func Blue ¶
Blue formats using the default formats for its operands and returns the resulting string with a blue foreground. Spaces are added between operands when neither is a string.
func Bluef ¶
Bluef formats according to a format specifier and returns the resulting string with a blue foreground.
func Cyan ¶
Cyan formats using the default formats for its operands and returns the resulting string with a cyan foreground. Spaces are added between operands when neither is a string.
func Cyanf ¶
Cyanf formats according to a format specifier and returns the resulting string with a cyan foreground.
func Green ¶
Green formats using the default formats for its operands and returns the resulting string with a green foreground. Spaces are added between operands when neither is a string.
func Greenf ¶
Greenf formats according to a format specifier and returns the resulting string with a green foreground.
func Magenta ¶
Magenta formats using the default formats for its operands and returns the resulting string with a magenta foreground. Spaces are added between operands when neither is a string.
func Magentaf ¶
Magentaf formats according to a format specifier and returns the resulting string with a magenta foreground.
func Red ¶
Red formats using the default formats for its operands and returns the resulting string with a red foreground. Spaces are added between operands when neither is a string.
func Redf ¶
Redf formats according to a format specifier and returns the resulting string with a red foreground.
func ThemeMinno ¶
ThemeMinno returns a new theme based on the Minno color scheme.
func White ¶
White formats using the default formats for its operands and returns the resulting string with a white foreground. Spaces are added between operands when neither is a string.
func Whitef ¶
Whitef formats according to a format specifier and returns the resulting string with a white foreground.
Types ¶
This section is empty.