Difference between revisions of "Yq"
Jump to navigation
Jump to search
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
{{lowercase}} | {{lowercase}} | ||
[[wikipedia:yq]] | [[wikipedia:yq]] | ||
yq r your_new_yaml_file.yml | yq r your_new_yaml_file.yml | ||
+ | |||
+ | |||
+ | yq '.services[].container_name' [[docker-compose.yml]] | ||
+ | |||
+ | [[snap install yq]] | ||
+ | [[brew install yq]] | ||
== Related terms == | == Related terms == | ||
* <code>[[jq]]</code> | * <code>[[jq]]</code> | ||
* [[Awareness of manifest management and common templating tools]] | * [[Awareness of manifest management and common templating tools]] | ||
+ | * [[grep]] | ||
== See also == | == See also == |
Latest revision as of 14:52, 25 August 2024
yq r your_new_yaml_file.yml
yq '.services[].container_name' docker-compose.yml
snap install yq brew install yq
Related terms[edit]
See also[edit]
yq, yq r, snap install yq
- YAML, TOML,
yq
, Dhall, YAML anchors,yamllint
Advertising: