Documentation
¶
Index ¶
- Constants
- Variables
- func ApplyStyle(style ctc.Color, text string) string
- func ApplyStylef(style ctc.Color, template string, components ...interface{}) string
- func Confirm(text string) bool
- func Debug(format string, a ...interface{})
- func Fatal(message string)
- func FatalIfError(message string, err error)
- func Print(format string, a ...interface{})
- func Warn(format string, a ...interface{})
- type Style
Constants ¶
View Source
const ( Red ctc.Color = ctc.ForegroundBrightRed Cyan ctc.Color = ctc.ForegroundBrightCyan Blue ctc.Color = ctc.ForegroundBrightBlue Magenta ctc.Color = ctc.ForegroundBrightMagenta Green ctc.Color = ctc.ForegroundBrightGreen Gray ctc.Color = ctc.ForegroundBrightBlack Yellow ctc.Color = ctc.ForegroundBrightYellow )
Variables ¶
View Source
var Verbose bool
Functions ¶
func ApplyStylef ¶
func FatalIfError ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.