feat: option to stream json - jsonl really (#6228)

This commit is contained in:
Michael Neale
2025-12-23 10:24:19 +11:00
committed by GitHub
parent 91a6b21f39
commit 1a79f28ad8
2 changed files with 107 additions and 28 deletions
+3 -3
View File
@@ -753,13 +753,13 @@ enum Command {
)]
additional_sub_recipes: Vec<String>,
/// Output format (text, json)
/// Output format (text, json, stream-json)
#[arg(
long = "output-format",
value_name = "FORMAT",
help = "Output format (text, json)",
help = "Output format (text, json, stream-json)",
default_value = "text",
value_parser = clap::builder::PossibleValuesParser::new(["text", "json"])
value_parser = clap::builder::PossibleValuesParser::new(["text", "json", "stream-json"])
)]
output_format: String,