This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-09-13
Channels
- # announcements (1)
- # babashka (12)
- # beginners (10)
- # biff (9)
- # calva (2)
- # cherry (21)
- # cider (14)
- # clj-commons (76)
- # clj-kondo (8)
- # clj-on-windows (34)
- # cljs-dev (5)
- # clojure (48)
- # clojure-austin (7)
- # clojure-europe (97)
- # clojure-nl (1)
- # clojure-norway (14)
- # clojure-uk (22)
- # clojurescript (137)
- # conjure (33)
- # cursive (4)
- # datalevin (1)
- # deps-new (4)
- # devcards (2)
- # duct (3)
- # events (1)
- # fulcro (12)
- # graphql (9)
- # hyperfiddle (16)
- # jobs (8)
- # kaocha (1)
- # leiningen (6)
- # lsp (39)
- # malli (38)
- # membrane (20)
- # nbb (68)
- # observability (7)
- # off-topic (49)
- # pathom (11)
- # polylith (8)
- # portal (22)
- # re-frame (6)
- # releases (1)
- # remote-jobs (2)
- # shadow-cljs (24)
- # spacemacs (2)
- # squint (6)
- # xtdb (7)
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
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.
(and the same is essentially true for deps-new
although there it depends much more on how exactly the classpath is put together)