Replies: 1 comment
-
There are two ways: You can use the props output:
(though this doesn't quite match the format you've got); and you can use the
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm currently in the process of migrating to yq 4, but I'm struggling to convert my read calls. I'm using read like this: `yq.exe read () --printMode (p|pv)'. So essentially I want these features:
Given the input YAML:
Previously used:
yq.exe read ** --printMode p
Previously used:
yq.exe read ** --printMode pv
Is there an easy way to achieve the same with yq 4?
Beta Was this translation helpful? Give feedback.
All reactions