Skip to main content

resolve_format

Function resolve_format 

Source
pub fn resolve_format(explicit: Option<OutputFormat>) -> OutputFormat
Expand description

Resolves output format: explicit > SSH_CLI_FORCE_TEXT > JSON if non-TTY > Text.