Parse, filter, and transform YAML, JSON, XML, CSV from the command line.
Process YAML, JSON, XML, CSV and properties documents from the CLI
yq$ yq '.' file.json$ yq '.spec.replicas' deployment.yaml$ yq -o json file.yaml$ yq '.spec.replicas = 3' deployment.yaml$ yq '.items[] | select(.status == "active")' data.yaml