kislyuk / yq

Command-line YAML, XML, TOML processor - jq wrapper for YAML/XML/TOML documents
https://kislyuk.github.io/yq/
Apache License 2.0
2.53k stars 81 forks source link

Allow editing toml in place #171

Closed thejcannon closed 10 months ago

thejcannon commented 11 months ago

Fixes #130

kislyuk commented 11 months ago

Thanks @thejcannon. I have a branch for enabling --in-place with xq, but it's not as trivial there (the xml library expects a binary stream while we provide a text one, or something) so I'm happy to merge this before that's ready.

The tests are failing though. What environment did you test in? Could you please take a look and see if you can fix the tests?

thejcannon commented 10 months ago

@kislyuk fixed!