3 ms·
I can’t tell you how many times I’d have hobbled together a tool like this to use in go. I will be converting to this. Sometimes we don’t actually want to par
by mbrumlow 2y ago
I can’t tell you how many times I’d have hobbled together a tool like this to use in go. I will be converting to this.
Sometimes we don’t actually want to parse yaml, we just want to mutate it without needing to module the underlying objects.
Being able to select and replace, add data to an existing yaml document is a huge win for automation.
- bbkane 2y agoYes! This is especially powerful when combined with git-xargs to auto-open PRs with the results of the mutation. I wrote about this a little in https://www.bbkane.com/blog/go-project-notes/#scripting-changes-across-repos https://www.bbkane.com/blog/go-project-notes/#scripting-chan... and it's really helped me keepy GitHub workflows and various config files in sync across project repos