Expand description
Colored output configuration and interactive terminal detection.
Manages color choice via termcolor honoring precedence:
- Flag
--no-colorda CLI (maior prioridade). NO_COLORenvironment variable (see https://no-color.org).CLICOLOR_FORCE=1environment variable (force colors even without TTY).- TTY detection (colors only if stdout is an interactive terminal).
- Fallback: no color.
Functionsยง
- color_
choice - Returns the configured color choice.
- initialize
- Initializes terminal color configuration.
- is_
interactive - Returns
trueif the process is running in an interactive terminal (TTY).