Closed
Description
Describe the bug
A clear and concise description of what the bug is.
Note that any how to questions should be posted in the discussion board and not raised as an issue.
Version of yq: 4.25.2
Operating system: maclinux
Installed via: NixOS
Input Yaml
data1.yml:
values:
- global.region: qa-de-1
Command
yq '.values[] | to_entries[]' data1.yml
Actual behavior
Error: Bad expression, please check expression syntax
Expected behavior
key: global.region
value: qa-de-1
Additional context
This can be worked around with yq '.values[] | to_entries | .[]' data1.yaml
but it would be cool to have the alias to be jq compatible.
Activity