Compare
Deeply compare two yaml documents
yq compare <yaml_file_1> <yaml_file_2> <path_expression>Example data
"apples": are nice
somethingElse: cool # this is nice
favouriteNumbers: [1,2,3]
noDifference: it's the sameapples: are nice
somethingElse: cool # yeah i like it
favouriteNumbers:
- 1
- 3
- 4
noDifference: it's the sameBasic
Formatted
Using path expressions
Last updated