Documentation
¶
Index ¶
- type Console
- func (c *Console) Error(msg string)
- func (c *Console) Info(msg string)
- func (c *Console) LineBreak()
- func (c *Console) List(items ...any)
- func (c *Console) Print(msg string)
- func (c *Console) Printf(msg string, args ...any)
- func (c *Console) Println(msg string)
- func (c *Console) SetWriter(w io.Writer)
- func (c *Console) Success(msg string)
- func (c *Console) Table(headers []string, rows [][]string)
- func (c *Console) Tree(root string, children ...any)
- func (c *Console) Warn(msg string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Console ¶
type Console struct {
// contains filtered or unexported fields
}
Console provides simple, styled console output using lipgloss for consistent branding.
func (*Console) SetWriter ¶
SetWriter changes the output writer for the console. Useful for redirecting output in tests or file logs.
Click to show internal directories.
Click to hide internal directories.