Skip to main content

init

Function init 

Source
pub fn init(color: ColorMode, quiet: bool, verbosity: u8)
Expand description

Install the global output state from the parsed CLI flags.

Called once by run_cli before dispatch: records --quiet/--verbose and sets the process-wide [anstream] color choice so every subsequent print (ours or an engine message routed through anstream) obeys the user’s --color selection.