deps-new

kenny 2022-09-13T20:22:15.584349Z

Hi. clj-new templates cannot be reuse one of the built-in template names, correct (assumption derived from code https://github.com/seancorfield/clj-new/blob/5edf2a5568ad273b333a522aad315e220b3f7b76/src/clj_new/helpers.clj#L196-L199)? e.g., The below snippet will actually render the lib template and not my local template.

clojure -Tclj-new create :template '"/my-template/clj-template::lib"' \                                                                                                                                           
                         :name foo/bar

kenny 2022-09-14T18:26:24.058019Z

Thanks!

seancorfield 2022-09-13T21:16:29.561569Z

Correct. The short, built-in template names are "reserved" in that respect. It's expected that folks who create templates would use more descriptive names.

seancorfield 2022-09-13T21:17:21.544729Z

(and the same is essentially true for deps-new although there it depends much more on how exactly the classpath is put together)