Documentation
¶
Index ¶
- func Bold(message string)
- func ClearLines(n int)
- func Command(cmd string) string
- func Error(message string)
- func Header(command string)
- func Highlight(text string) string
- func Info(message string)
- func KeyValue(key, value string)
- func Muted(message string)
- func Newline()
- func NextSteps(steps []string)
- func Spinner(message string, action func() error) error
- func Step(message string)
- func Success(message string)
- func Task(stepMsg, successMsg string, action func() error) error
- func TreeItem(prefix, label, status string, done bool)
- func TreeItemSkipped(prefix, label, reason string)
- func Warning(message string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TreeItem ¶ added in v0.6.0
TreeItem prints a tree-style item with status prefix: "├─" for middle items, "└─" for last item
func TreeItemSkipped ¶ added in v0.6.0
func TreeItemSkipped(prefix, label, reason string)
TreeItemSkipped prints a skipped tree item
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.