yq/cmd
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
..
constant.go Add `--nul-output|-0` flag to separate element with NUL character (#1550) 2023-03-29 09:51:55 +11:00
evaluate_all_command.go Updating references to yq being a YAML processor 2023-11-30 15:32:21 +11:00
evaluate_sequence_command.go Updating references to yq being a YAML processor 2023-11-30 15:32:21 +11:00
root.go Add --properties-separator option (#1951) 2024-02-20 10:57:44 +11:00
shell-completion.go Bump github.com/spf13/cobra from 1.5.0 to 1.6.0 (#1380) 2022-10-17 15:15:19 +11:00
unwrap_flag.go Spellig with cspell 2023-09-19 10:43:11 +10:00
utils.go Add --properties-separator option (#1951) 2024-02-20 10:57:44 +11:00
version_test.go Clean up cli help doc, add github and doc links 2021-07-09 14:58:09 +10:00
version.go Bumping version 2024-02-16 09:48:51 +11:00