Documentation
¶
Overview ¶
Package color provides terminal coloring that is a no-op unless enabled, so output stays clean when piped or redirected (codes would otherwise pollute files and tools like jq).
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Enabled bool
Enabled gates all coloring. The CLI sets it from TTY detection / --color / NO_COLOR. When false, every helper returns its input unchanged.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.