yq · PyPI
https://pypi.org/project/yq/
Jul 24, 2022 · yq takes YAML input, converts it to JSON, and pipes it to jq: cat input.yml | yq .foo.bar Like in jq, you can also specify input filename(s) as arguments: yq .foo.bar input.yml By default, no conversion of jq output is done. Use the --yaml-output /-y option to convert it back into YAML: cat input.yml | yq -y .foo.bar Mapping key order is preserved.
DA: 41 PA: 55 MOZ Rank: 38