print_output

Function print_output 

Source
pub(crate) fn print_output<T: Serialize>(
    format: OutputFormat,
    toon: &str,
    payload: &T,
) -> Result<(), CliError>
Expand description

Emit either TOON or JSON to stdout.