This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-03-29
Channels
- # announcements (8)
- # babashka (41)
- # beginners (45)
- # calva (23)
- # cider (17)
- # cljdoc (2)
- # cljfx (9)
- # clojure (40)
- # clojure-bay-area (13)
- # clojure-czech (4)
- # clojure-europe (46)
- # clojure-germany (6)
- # clojure-nl (13)
- # clojure-serbia (3)
- # clojure-uk (9)
- # clojurescript (76)
- # conjure (7)
- # cursive (5)
- # data-science (6)
- # deps-new (7)
- # fulcro (41)
- # graalvm (2)
- # jobs (6)
- # lsp (10)
- # malli (1)
- # mid-cities-meetup (1)
- # off-topic (77)
- # polylith (40)
- # re-frame (18)
- # releases (1)
- # remote-jobs (9)
- # reveal (1)
- # rewrite-clj (1)
- # shadow-cljs (11)
- # tools-deps (3)
- # tree-sitter (3)
- # vim (8)
- # xtdb (45)
Hi Sean, I'm trying to create a Luminus template but it doesn't seem to be working. I put in clojure -X:new :template luminus :name Rowan/guestbook \ :output '"mywebapp"' :args '["+h2" "+http-kit"]'
on the commandline and got this output : Unreadable arg: "\\"
The only thing I can think of is that maybe I am using the wrong slashes because Windows? I also do not understand why the extra slash is needed before the :output
argument. It is there on other examples on your clj-new page under 'Example Usage'.
Oh yeah and one more thing, can I specify the template version with this and how would I do that if so?
@flyingpython What is that \
in the middle for?
(! 1061)-> clojure -X:new :template luminus :name Rowan/guestbook :output '"mywebapp"' :args '["+h2" "+http-kit"]'
Downloading: luminus/lein-template/maven-metadata.xml from clojars
Generating a Luminus project.
☝️:skin-tone-2: Works.Thank you very much Sean - the slash in the middle was there in your examples on https://github.com/seancorfield/clj-new#example-usage- it is in 2 examples there - the one for Luminus and the one for re-frame
Ah looking closer at it now, I am guessing it is like a slash for newline as it occurs right before a new line in both examples, I am feeling silly again 😅 Man why do computers have to make slashes so confusing?
Ah, yes, macOS/Linux use \
to escape a newline. No idea what Windows does for splitting commands across multiple lines.