rewrite-clj

ag 2023-12-20T19:46:37.691379Z

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?

borkdude 2023-12-20T20:07:06.461579Z

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

ag 2023-12-20T20:14:25.926809Z

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

ag 2023-12-20T20:14:53.040749Z

Awesome lib

❤️ 1