I would like to use a project like deps-new which could support those extra features: • handlebars templates • interactive UI for the input params I have already some handlebars parsing code in Clojure from an old project. @seancorfield Would it make sense to add those features into deps-new or the change is too big and a separate project would be better (at least for the POC) ?
@vincent.cantin deps-new is mostly a wrapper for tools.build and uses its data substitution machinery -- :replace option on copy-dir -- and because of that I effectively rejected a similar request https://github.com/seancorfield/deps-new/issues/35 but noted that conditional processing can be achieved through :data-fn and :template-fn
On your second bullet, I'm not sure what you're asking for there.
I was thinking about a UI where the user could change the input params to be used in the template, and a embedded file browser to see how it changes the generated output, in realtime.
then the user would just press the "ok" button to write it to files.
Okay, so the UI is something you'd need to build, but you could use deps-new as a library at that point -- quite a bit of work has been done over the years to make deps-new work better as a library...
My "UI" for dealing with deps-new has always been the command-line so changing input params via the command-line args and looking at the files produced is well-served on Linux 🙂
@vincent.cantin https://www.big-config.it/guides/build/ could help for the template logic. I used to use the amazing deps-new in BigConfig but eventually I decided to "reimplement" it in BigConfig to streamline the developer experience.
Thanks for sharing