Documentation
¶
Index ¶
- Variables
- func Basic(format string, a ...any)
- func Debug(format string, a ...any)
- func DisplayLogEntry(logEntry logging.LogEntry, prefix string)
- func Error(format string, a ...any)
- func Info(format string, a ...any)
- func Prompt(message string) (string, error)
- func Section(title string, textLines []string)
- func Success(format string, a ...any)
- func Table(headers []string, rows [][]string)
- func Warn(format string, a ...any)
- type PrefixedUI
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Amber = lipgloss.Color("#F59E0B") Blue = lipgloss.Color("#3B82F6") White = lipgloss.Color("#fafafa") Gray = lipgloss.Color("#6B7280") Green = lipgloss.Color("#10B981") LightGray = lipgloss.Color("241") Red = lipgloss.Color("#f87171") Purple = lipgloss.Color("#8B5CF6") )
Colors
Functions ¶
func DisplayLogEntry ¶
Types ¶
type PrefixedUI ¶
type PrefixedUI struct {
Prefix string
}
func (*PrefixedUI) Error ¶
func (p *PrefixedUI) Error(format string, a ...any)
func (*PrefixedUI) Info ¶
func (p *PrefixedUI) Info(format string, a ...any)
func (*PrefixedUI) Success ¶
func (p *PrefixedUI) Success(format string, a ...any)
func (*PrefixedUI) Warn ¶
func (p *PrefixedUI) Warn(format string, a ...any)
Click to show internal directories.
Click to hide internal directories.