-
Hi, I was using the v3 version to merge several yaml files (inside the folder configFiles) into one combined file using this commad:
Now I'm trying to get the same result with v4 but I'm not getting the same combined file. The command that I'm using is:
Which would be the equivalent v4 command as the previous v3 that I was using? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
This should do it: |
Beta Was this translation helpful? Give feedback.
-
Thanks for the answer, I tried the "*+" but didnt' work. The idea is to merge f2.yml not into f1.yml but in a new created yml (https://mikefarah.gitbook.io/yq/commands/evaluate-all) like it was done in the pass with: I mean maybe it can't be done anymore in this new v4 version? |
Beta Was this translation helpful? Give feedback.
-
Ah ok - this looks like it's related to this enhancement request: #674 - just need to figure out how to actually implement it (and get the time to do it :S ) |
Beta Was this translation helpful? Give feedback.
-
Looking forward to check this new version, thanks for notifying!
El jue, 18 feb 2021 a las 9:44, Mike Farah (<[email protected]>)
escribió:
… You can now do this in 4.6.0:
https://mikefarah.gitbook.io/yq/operators/reduce#merge-all-yaml-files-together
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#688 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJO7PASTSPLX7QZXPVE2XKDS7THOBANCNFSM4WSAVCXA>
.
|
Beta Was this translation helpful? Give feedback.
Ah ok - this looks like it's related to this enhancement request: #674 - just need to figure out how to actually implement it (and get the time to do it :S )