pub fn resolve(
choice: ColorChoice,
is_terminal: bool,
no_color: Option<&str>,
) -> PaletteExpand description
The palette a run of the CLI gets, from the flag, the stream and the environment.
Pure in all three, so the precedence documented at the top of this module is testable without a terminal or a process environment.