Documentation
¶
Index ¶
- func Bold(s string) string
- func Cyan(s string) string
- func Dim(s string) string
- func Error(msg string)
- func Green(s string) string
- func Header(msg string)
- func Info(msg string)
- func PrintJSON(v interface{}) error
- func Red(s string) string
- func StatusColor(status string) string
- func Step(msg string)
- func Success(msg string)
- func Table(headers []string, rows [][]string)
- func Warning(msg string)
- func Yellow(s string) string
- type Spinner
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StatusColor ¶
StatusColor returns a colored status string.
Types ¶
type Spinner ¶
type Spinner struct {
// contains filtered or unexported fields
}
Spinner is a simple terminal spinner.
func NewSpinner ¶
NewSpinner creates a new spinner with the given message.
Click to show internal directories.
Click to hide internal directories.