clojure
Use the Clojure tools to run Clojure programs on the JVM, start a REPL, or invoke a specific function with data
Options
Name | Description |
---|---|
-A | Use concatenated aliases to modify classpath |
-X [a/fn] [kvs...] [kv-map] | |
-T [a/fn] [kvs...] [kv-map] | Invoke tool by name or via aliases ala -X |
-M [args...] | Use concatenated aliases to modify classpath or supply main opts |
-P | Prepare deps - download libs, cache classpath, but don't exec |
-J | Pass opt through in java_opts |
-Sdeps <edn> | Pass the deps data on the command line |
-Spath | Compute classpath and echo to stdout only |
-Scp <cp> | Use specified classpath instead of cached or computed one |
-Sdescribe | Print environment and command parsing information as data |
-Sforce | Ignore classpath cache and force recomputation |
-Spom | Generate (or update) pom.xml with deps and paths |
-Srepro | Ignore the ~/.clojure/deps.edn config file |
-Sthreads | Set the number of threads to use when downloading dependencies |
-Strace | Write a trace.edn file that traces deps expansion |
-Stree | Print dependency tree |
-Sverbose | Print all path locations |
-version, --version | Print the Clojure CLI version |
-i, --init <path> | Load a file or resource |
-e, --eval <string> | Evaluate expressions in string; print non-nil values |
--report <target> | Report uncaught exceptions |
-m, --main <ns-name> <args...> | Call the -main function from a namespace with args |
-r, --repl | Run a REPL |
-h, -?, --help | Show help for clojure |