yq-powered bash scripting #1587
rbren
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I put together a bash one-liner that makes it really fun to write
bash
scripts that work with JSON/YAML. It usesyq
under the hoodhttps://github.com/rbren/baml
Here's an example showing off the syntax. Everything is native bash--that first
echo
line is doing some magic to make it happen.Beta Was this translation helpful? Give feedback.
All reactions