Documentation ¶
Index ¶
- func Bold(t ...string)
- func Boldf(t string, args ...interface{})
- func Boldln(t ...string)
- func Error(t ...string)
- func ErrorIcon()
- func Errorf(t string, args ...interface{})
- func Errorln(t ...string)
- func File(data interface{}, format string) (err error)
- func Info(t ...string)
- func InfoIcon()
- func Infof(t string, args ...interface{})
- func Infoln(t ...string)
- func Italic(t ...string)
- func Italicf(t string, args ...interface{})
- func Italicln(t ...string)
- func JSON(data interface{}) error
- func Markdown(text string) (string, error)
- func MarkdownWithWrap(text string, wrap int) (string, error)
- func PrettyJSON(data interface{}) error
- func Progress(max int, description string) *progressbar.ProgressBar
- func Space()
- func Success(t ...string)
- func SuccessIcon()
- func Successf(t string, args ...interface{})
- func Successln(t ...string)
- func Table(target io.Writer, rows [][]string)
- func Text(t ...string)
- func Textf(t string, args ...interface{})
- func Textln(t ...string)
- func Warning(t ...string)
- func WarningIcon()
- func Warningf(t string, args ...interface{})
- func Warningln(t ...string)
- func YAML(data interface{}) error
- type Indicator
- type RenderOpts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrettyJSON ¶
func PrettyJSON(data interface{}) error
PrettyJSON prints the data as pretty JSON.
func SuccessIcon ¶
func SuccessIcon()
func WarningIcon ¶
func WarningIcon()
Types ¶
type RenderOpts ¶
type RenderOpts []glamour.TermRendererOption
Click to show internal directories.
Click to hide internal directories.