docs/src/data/changelog/v1.1.3/catalog-jsonl-format.mdx
import { Aside } from '@astrojs/starlight/components'
catalog-format — Added reading the catalog as JSON LinesThe catalog command draws a terminal user interface, and refuses to start where there is no terminal to draw it on. With the catalog-format experiment enabled, --format=jsonl writes the same discovery to standard output instead, as one JSON object per line:
terragrunt catalog --experiment=catalog-format --format=jsonl | jq -c '{kind, title, component_source}'
Entries are written as they are discovered rather than collected first, so output is readable while the remaining repositories are still loading, and a reader that stops early ends the command quietly:
terragrunt catalog --experiment=catalog-format --format=jsonl | head -5
Entries appear in discovery order, which interleaves the repositories being loaded and differs between runs. Every entry carries the complete body of the component's README in the doc field. Combine usage of Terragrunt with other tools like jq to drop it.
terragrunt catalog --experiment=catalog-format --format=jsonl | jq -c 'del(.doc)'
Entries follow a published JSON schema. For the fields and their meanings, see Non-interactive catalog.
--format=tui is the default, and leaves the terminal user interface exactly as it was.