Skip to main content

default_output_format

Function default_output_format 

Source
pub fn default_output_format(app_id: &str) -> String
Expand description

Computes the default output format for app_id, consulting the ${APP_ID}_OUTPUT env override and whether stdout is an interactive terminal. Used as the fallback when no explicit --output/--json/ --toon/--human is given.