parseOutputFormat function
Implementation
CliOutputFormat parseOutputFormat(String? format) => switch (format) {
'json' => CliOutputFormat.json,
'stream' => CliOutputFormat.stream,
_ => CliOutputFormat.text,
};
CliOutputFormat parseOutputFormat(String? format) => switch (format) {
'json' => CliOutputFormat.json,
'stream' => CliOutputFormat.stream,
_ => CliOutputFormat.text,
};