yq v4 tools
Few operators : Length We can get the length of an array using this length operator apple: - test: "eat" - test: "cut" Then the following command gives us the length length=$(yq '.apple | length' test.yaml) env This is used to pass var...
Aug 18, 20231 min read6