docs/src/data/experiments/catalog-format.mdx
Non-interactive output formats for the catalog command.
catalog-format - What it doesThe catalog command renders an interactive terminal user interface, which leaves scripts, CI jobs, and agents with no way to read what it discovers. This experiment adds a --format flag that writes results to standard output instead: jsonl emits one JSON object per catalog entry, and md emits a Markdown document.
Both formats render progressively, as entries are discovered, so a consumer that only needs the first few can stop reading before discovery finishes. Entries appear in discovery order, which is not stable between runs.
The jsonl records follow a published JSON schema, so consumers can validate what they read.
Interactivity stays in the terminal user interface. Scaffolding a module and copying a unit or stack are not available in the non-interactive formats, which report the command to run instead.
catalog-format - How to provide feedbackTrack and discuss this experiment in gruntwork-io/terragrunt#6579. When reporting issues or providing feedback, please include:
catalog-format - Criteria for stabilizationTo transition the catalog-format feature to a stable release, the following must be addressed, at a minimum:
--format flag on catalog accepting jsonl and md.jsonl records.catalog does not require passing --format.