Summary
While dogfooding, search advertises --format <...> but map, symbols, and inspect use different JSON/compact flag shapes. It is easy to try --format json consistently and get a parser failure.
Evidence
cdidx search --help exposes --format <text|json|count|compact|csv|tsv|lsp|qf|sarif|issue-drafts>.
cdidx map --help and cdidx symbols --help expose --json/--compact style flags instead.
- This makes scripted audit flows branch per command even when requesting the same output shape.
Expected
Either accept common --format json|compact|count aliases across these commands, or return a targeted hint that names the command-specific flag.
Summary
While dogfooding,
searchadvertises--format <...>butmap,symbols, andinspectuse different JSON/compact flag shapes. It is easy to try--format jsonconsistently and get a parser failure.Evidence
cdidx search --helpexposes--format <text|json|count|compact|csv|tsv|lsp|qf|sarif|issue-drafts>.cdidx map --helpandcdidx symbols --helpexpose--json/--compactstyle flags instead.Expected
Either accept common
--format json|compact|countaliases across these commands, or return a targeted hint that names the command-specific flag.