pub fn extract_output_format(
args: &[impl AsRef<str>],
default_format: &str,
) -> StringExpand description
Extracts output format from raw args.
Recognizes --output <format> / -o <format> / --output=<format>,
plus --json, --toon, and --human as shorthand for their respective
formats. Falls back to default_format when none is present.