author avatar

iffyuva

Fri Apr 05 2019

How to extract a nested yaml key from a file and write its contents to another file?

js-yaml <yaml-file> | jq ".topkey.nestedkey" | js-yaml > output.yaml