Fork me on GitHub
#deps-new
<
2021-08-21
>
seancorfield00:08:35

(so far I've mostly been testing it with -Sdeps to pull templates in from :local/root stuff)

seancorfield00:08:49

clojure -Sdeps '{:deps {com.acme/new-project {:mvn/version "1.0.0"}}}' -Tnew create :template acme.templates/new-app :name myname/myproject for example

seancorfield00:08:03

Assuming that com.acme/new-project has template.edn at acme/templates/new-app/ on the classpath.

dorab16:08:24

I see. So, it will just pull from classpath, where ever that might be. Makes sense. Thanks.

seancorfield16:08:34

@dorab My feeling was "why duplicate what the CLI can easily do?" and also "why tie the template name to the artifact name?" (which has been a long-standing frustration of mine with lein new right up to clj-new)

dorab23:08:34

The lein new template naming convention always seemed strange to me. So, glad to see the improvement.