--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@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+unsubscribe@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 a topic in the Google Groups "Clojure" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/clojure/JaIX3aOZmvQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to clojure+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
In addition to tools.deps, which reads dependencies etc from a deps.edn file, you might want to look at Boot http://boot-clj.com which allows you to use libraries via the command line without needing a project or source files etc:
boot -d clj-http repl
This will start a Clojure REPL (anywhere) with the clj-http library loaded. Boot also has a call task that accepts Clojure code via the command-line:
boot -d clj-http call -p -e “(require ‘[clj-http.client :as http])” -e ‘(http/get “http://google.com”)’
The -p option tells call to print the result of each expression.
Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood