Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Yes! 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-chan... and it's really helped me keepy GitHub workflows and various config files in sync across project repos




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: