yq/pkg/yqlib/doc/usage
Ryan Drew 2865022cf8
Add --properties-separator option (#1951)
This commit adds the --properties-separator option, which lets users
specify the separator used between keys and values in the properties
output format. This is done by adjusting the value of
github.com/magiconair/properties#Properties.WriteSeparator at encode
time.

Some refactoring of the properties encoder unit tests was done to make
it easier to write unit tests that include different separator values.

Fixes: #1864

Signed-off-by: Ryan Drew <ryan.drew@isovalent.com>
2024-02-20 10:57:44 +11:00
..
headers Comments in yq expressions! #1919 2024-02-09 13:54:27 +11:00
convert.md Updating JSON doc: NDJSON spec deprecated, prefer JSON Lines 2023-12-01 11:39:02 +11:00
csv-tsv.md Added new CSV option to turn off auto-parsing #1947 2024-02-15 13:11:53 +11:00
formatting-expressions.md Adding shebang documentation 2024-02-16 11:03:35 +11:00
lua.md Lua output fixes (#1811) 2023-10-12 11:25:26 +11:00
properties.md Add --properties-separator option (#1951) 2024-02-20 10:57:44 +11:00
recipes.md Need to escape single quotes in bash, updated docs #1932 2024-02-02 14:58:49 +11:00
shellvariables.md Spellig with cspell 2023-09-19 10:43:11 +10:00
toml.md Empty TOML table is an empty object 2024-02-08 13:31:56 +11:00
xml.md Comments in yq expressions! #1919 2024-02-09 13:54:27 +11:00