fix(cli): show --json in global help (#12058)

This commit is contained in:
morluto authored and GitHub committed 2026-11-18 08:54:35 -05:00
1 parent aaacdc0ef7
commit 39e8403306
24 files changed
+24

No files matched your search

+1
View File
@@ -147,6 +147,7 @@ const globalOptionRows = ({ formats, root }: GlobalOptionsHelp): Row[] =>
},
{ label: `--format <${formats.join("|")}>`, description: "Output format" },
{ label: "--help", description: "Show help" },
{ label: "--json", description: "Shorthand for --format json" },
{
label: "--llms, --llms-full",
description: "Print LLM-readable manifest",
+1
View File
@@ -46,6 +46,7 @@ it("renders type placeholders, shown defaults and aliases", () => {
" --format <toon|json|csv> Output format",
" --full-output Show full output envelope",
" --help Show help",
" --json Shorthand for --format json",
" --llms, --llms-full Print LLM-readable manifest",
" --schema Show JSON Schema for command",
" --token-count Print token count of output (instead of output)",
@@ -21,6 +21,7 @@ Global Options:
--format <toon|json|yaml|md|jsonl|csv|tsv> Output format
--full-output Show full output envelope
--help Show help
--json Shorthand for --format json
--llms, --llms-full Print LLM-readable manifest
--schema Show JSON Schema for command
--token-count Print token count of output (instead of output)
@@ -30,6 +30,7 @@ Global Options:
--format <toon|json|yaml|md|jsonl|csv|tsv> Output format
--full-output Show full output envelope
--help Show help
--json Shorthand for --format json
--llms, --llms-full Print LLM-readable manifest
--mcp Start as MCP stdio server
--schema Show JSON Schema for command
+1
View File
@@ -21,6 +21,7 @@ Global Options:
--format <toon|json|yaml|md|jsonl|csv|tsv> Output format
--full-output Show full output envelope
--help Show help
--json Shorthand for --format json
--llms, --llms-full Print LLM-readable manifest
--schema Show JSON Schema for command
--token-count Print token count of output (instead of output)
+1
View File
@@ -24,6 +24,7 @@ Global Options:
--format <toon|json|yaml|md|jsonl|csv|tsv> Output format
--full-output Show full output envelope
--help Show help
--json Shorthand for --format json
--llms, --llms-full Print LLM-readable manifest
--schema Show JSON Schema for command
--token-count Print token count of output (instead of output)
@@ -29,6 +29,7 @@ Global Options:
--format <toon|json|yaml|md|jsonl|csv|tsv> Output format
--full-output Show full output envelope
--help Show help
--json Shorthand for --format json
--llms, --llms-full Print LLM-readable manifest
--schema Show JSON Schema for command
--token-count Print token count of output (instead of output)
@@ -25,6 +25,7 @@ Global Options:
--format <toon|json|yaml|md|jsonl|csv|tsv> Output format
--full-output Show full output envelope
--help Show help
--json Shorthand for --format json
--llms, --llms-full Print LLM-readable manifest
--schema Show JSON Schema for command
--token-count Print token count of output (instead of output)
@@ -16,6 +16,7 @@ Global Options:
--format <toon|json|yaml|md|jsonl|csv|tsv> Output format
--full-output Show full output envelope
--help Show help
--json Shorthand for --format json
--llms, --llms-full Print LLM-readable manifest
--schema Show JSON Schema for command
--token-count Print token count of output (instead of output)
+1
View File
@@ -19,6 +19,7 @@ Global Options:
--format <toon|json|yaml|md|jsonl|csv|tsv> Output format
--full-output Show full output envelope
--help Show help
--json Shorthand for --format json
--llms, --llms-full Print LLM-readable manifest
--schema Show JSON Schema for command
--token-count Print token count of output (instead of output)
@@ -25,6 +25,7 @@ Global Options:
--format <toon|json|yaml|md|jsonl|csv|tsv> Output format
--full-output Show full output envelope
--help Show help
--json Shorthand for --format json
--llms, --llms-full Print LLM-readable manifest
--schema Show JSON Schema for command
--token-count Print token count of output (instead of output)
@@ -20,6 +20,7 @@ Global Options:
--format <toon|json|yaml|md|jsonl|csv|tsv> Output format
--full-output Show full output envelope
--help Show help
--json Shorthand for --format json
--llms, --llms-full Print LLM-readable manifest
--schema Show JSON Schema for command
--token-count Print token count of output (instead of output)
+1
View File
@@ -27,6 +27,7 @@ Global Options:
--format <toon|json|yaml|md|jsonl|csv|tsv> Output format
--full-output Show full output envelope
--help Show help
--json Shorthand for --format json
--llms, --llms-full Print LLM-readable manifest
--schema Show JSON Schema for command
--token-count Print token count of output (instead of output)
+1
View File
@@ -17,6 +17,7 @@ Global Options:
--format <toon|json|yaml|md|jsonl> Output format
--full-output Show full output envelope
--help Show help
--json Shorthand for --format json
--llms, --llms-full Print LLM-readable manifest
--schema Show JSON Schema for command
--token-count Print token count of output (instead of output)
@@ -14,6 +14,7 @@ Global Options:
--format <toon|json|yaml|md|jsonl> Output format
--full-output Show full output envelope
--help Show help
--json Shorthand for --format json
--llms, --llms-full Print LLM-readable manifest
--schema Show JSON Schema for command
--token-count Print token count of output (instead of output)
+1
View File
@@ -14,6 +14,7 @@ Global Options:
--format <toon|json|yaml|md|jsonl> Output format
--full-output Show full output envelope
--help Show help
--json Shorthand for --format json
--llms, --llms-full Print LLM-readable manifest
--schema Show JSON Schema for command
--token-count Print token count of output (instead of output)
+1
View File
@@ -30,6 +30,7 @@ Global Options:
--format <toon|json|yaml|md|jsonl|csv|tsv> Output format
--full-output Show full output envelope
--help Show help
--json Shorthand for --format json
--llms, --llms-full Print LLM-readable manifest
--mcp Start as MCP stdio server
--schema Show JSON Schema for command
+1
View File
@@ -30,6 +30,7 @@ Global Options:
--format <toon|json|yaml|md|jsonl|csv|tsv> Output format
--full-output Show full output envelope
--help Show help
--json Shorthand for --format json
--llms, --llms-full Print LLM-readable manifest
--mcp Start as MCP stdio server
--schema Show JSON Schema for command
+1
View File
@@ -30,6 +30,7 @@ Global Options:
--format <toon|json|yaml|md|jsonl|csv|tsv> Output format
--full-output Show full output envelope
--help Show help
--json Shorthand for --format json
--llms, --llms-full Print LLM-readable manifest
--mcp Start as MCP stdio server
--schema Show JSON Schema for command
+1
View File
@@ -30,6 +30,7 @@ Global Options:
--format <toon|json|yaml|md|jsonl|csv|tsv> Output format
--full-output Show full output envelope
--help Show help
--json Shorthand for --format json
--llms, --llms-full Print LLM-readable manifest
--mcp Start as MCP stdio server
--schema Show JSON Schema for command
+1
View File
@@ -13,6 +13,7 @@ Global Options:
--format <toon|json|yaml|md|jsonl|csv|tsv> Output format
--full-output Show full output envelope
--help Show help
--json Shorthand for --format json
--llms, --llms-full Print LLM-readable manifest
--schema Show JSON Schema for command
--token-count Print token count of output (instead of output)
@@ -22,6 +22,7 @@ Global Options:
--format <toon|json|yaml|md|jsonl> Output format
--full-output Show full output envelope
--help Show help
--json Shorthand for --format json
--llms, --llms-full Print LLM-readable manifest
--schema Show JSON Schema for command
--token-count Print token count of output (instead of output)
+1
View File
@@ -21,6 +21,7 @@ Global Options:
--format <toon|json|yaml|md|jsonl|csv|tsv> Output format
--full-output Show full output envelope
--help Show help
--json Shorthand for --format json
--llms, --llms-full Print LLM-readable manifest
--schema Show JSON Schema for command
--token-count Print token count of output (instead of output)
+1
View File
@@ -30,6 +30,7 @@ Global Options:
--format <toon|json|yaml|md|jsonl|csv|tsv> Output format
--full-output Show full output envelope
--help Show help
--json Shorthand for --format json
--llms, --llms-full Print LLM-readable manifest
--mcp Start as MCP stdio server
--schema Show JSON Schema for command