Skip to main content

resolve_output_mode

Function resolve_output_mode 

Source
pub fn resolve_output_mode(cli_flag: Option<OutputMode>) -> OutputMode
Expand description

Resolve the active output mode from a parsed Cli plus the SUBX_OUTPUT environment variable.

--output always wins over the environment fallback.