pub fn color_enabled(no_color_flag: bool) -> boolExpand description
Whether ANSI color should be used: honors an explicit no-color flag,
the NO_COLOR env convention, and whether stderr is a TTY.
Single source of truth for the color rule, shared by the hm host
context and the cloud plugin’s render preferences.