Skip to main content

cli_output_with_options

Function cli_output_with_options 

Source
pub fn cli_output_with_options(
    value: &Value,
    format: OutputFormat,
    output_options: &OutputOptions,
) -> String
Expand description

Dispatch output formatting by OutputFormat with configurable output options.

JSON output ignores OutputStyle and always preserves original keys and values after redaction. YAML and plain output use the requested style.