CmdID

CmdID / Commands

clj

Clojure tool to start a REPL or invoke a function with data. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Clojure tool to start a REPL or invoke a function with data. All options can be defined in a deps.edn file.

Start a REPL (interactive shell)

Execute a function

clj -X namespace/function_nameIdentify

Run the main function of a specified namespace

clj -M --main namespace argsIdentify

Prepare a project by resolving dependencies, downloading libraries, and making/caching classpaths

clj -PIdentify

Start an nREPL server with the CIDER middleware

clj -Sdeps '{:deps {nrepl {:mvn/version "0.7.0"} cider/cider-nrepl {:mvn/version "0.25.2"}\}\}' --main nrepl.cmdline --middleware '["cider.nrepl/cider-middleware"]' --interactiveIdentify

Start a REPL for ClojureScript and open a web browser

clj -Sdeps '{:deps {org.clojure/clojurescript {:mvn/version "1.10.758"}\}\}' --main cljs.main --replIdentify