A lightweight and portable command-line YAML processor.
yq eval {path/to/file.yaml}
yq read {path/to/file.yaml} --colors
yq eval '.[0]' {path/to/file.yaml}
yq read {path/to/file.yaml} '[0]'
yq eval '.{key} = "{value}"' --inplace {path/to/file.yaml}
yq write --inplace {path/to/file.yaml} '{key}' '{value}'
yq eval-all 'select(filename == "{path/to/file1.yaml}") * select(filename == "{path/to/file2.yaml}")' {path/to/file1.yaml} {path/to/file2.yaml}
yq merge {path/to/file1.yaml} {path/to/file2.yaml} --colors
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).
=> CC-BY This content has been proxied by September (ba2dc).Proxy Information
text/gemini;lang=en-GB