Or just type: clojure or: clj And it announces the version and starts a REPL – which is documented usage. I think one of the “issues” here is that clojure / clj are scripts that have an inherent version behind them (clojure -Sdescribe) but the version of Clojure that they run with is context-dependent. deps.edn can specify any Clojure back to … Clojure 1.1 it seems: seanc@DESKTOP-QU2UJ1N:~$ clojure -Sdeps '{:deps {org.clojure/clojure {:mvn/version "1.1.0"}}}' Clojure 1.1.0 user=> *clojure-version* {:major 1, :minor 1, :incremental 0, :qualifier ""} user=> Given that, I think that a –version option on clojure would be misleading since it is not reporting the version of the clojure / clj scripts. Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN From: Alan Thompson Seems we should have the "--version" switch that is pretty universal. Right now, the best one can do is
which is hard for a new user to figure out. Jira ticket? Alan -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/clojure/5cd24a6f.1c69fb81.bb91f.699f%40mx.google.com. For more options, visit https://groups.google.com/d/optout. |
- No "clojure --version" switch Alan Thompson
- RE: No "clojure --version" switch sean
- Re: No "clojure --version" switch Jesús Gómez
- No "clojure --version" switch Alex Miller
- Re: No "clojure --version" switch Alex Miller
- Re: No "clojure --version" switch Alan Thompson
- Re: No "clojure --version" switch Alex Miller