Files
yq/cmd
jfenalandGitHub 78192a915b feat: Add --yaml-compact-seq-indent / -c flag for compact sequence indentation (#2583)
Adds a new CLI flag that enables compact sequence indentation where '- ' is
considered part of the indentation. This leverages the CompactSeqIndent()
method from the underlying go.yaml.in/yaml/v4 library.

Example output with --yaml-compact-seq-indent:
  parent:
    items:
    - one
    - two

Instead of the default:
  parent:
    items:
      - one
      - two

Closes #1841
2026-01-31 14:50:01 +11:00
..
2024-04-22 14:15:36 +10:00
2025-12-20 19:11:48 +11:00
2025-10-12 15:38:40 +11:00
2023-09-19 10:43:11 +10:00
2025-12-20 19:11:48 +11:00
2025-12-20 19:21:32 +11:00