mirror of
https://github.com/mikefarah/yq.git
synced 2026-06-28 16:07:46 +00:00
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
|
||
|---|---|---|
| .. | ||
| yqlib | ||