Fork me on GitHub
#rewrite-clj
<
2023-12-20
>
ag19:12:37

I need to read a deps.edn file, update a single alias and write it back while preserving the structure of the file (empty lines, etc.). Can someone share a simple example snippet with rewrite-clj, please?

borkdude20:12:06

It seems this is a job for rewrite-edn: https://github.com/borkdude/rewrite-edn

ag20:12:25

Yup, yup. found it... Thank you!

ag20:12:53

Awesome lib

❤️ 1