Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrintlnColored ¶
func PrintlnColored(text string, color OutputColor)
func PrintlnColoredErr ¶ added in v1.0.0
func PrintlnColoredErr(text string, color OutputColor)
PrintlnColoredErr writes a colored line to stderr. Use it for progress/status messages so that stdout stays clean for machine-readable (--json) output.
Types ¶
type OutputColor ¶
type OutputColor int32
const ( Reset OutputColor = 0 Red OutputColor = 31 Green OutputColor = 32 Yellow OutputColor = 33 Blue OutputColor = 34 Magenta OutputColor = 35 Cyan OutputColor = 36 Gray OutputColor = 37 White OutputColor = 97 )
Click to show internal directories.
Click to hide internal directories.