Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsColorEnabled ¶
func IsColorEnabled() *bool
IsColorEnabled checks environment variables to determine if color should be enabled.
Returns:
- false if NO_COLOR is set (disables color)
- false if CLICOLOR=0 is set (disables color, unless forced)
- true if CLICOLOR_FORCE or FORCE_COLOR is set (forces color)
- nil if no color-related environment variables are set (caller should use TTY detection)
This function is designed for early initialization before flags or config are available. It only checks environment variables and has zero dependencies on other atmos packages.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.