poly
Search…
Install as Clojure CLI Tool
If you are using a recent version of the Clojure CLI -- 1.10.3.933 or later -- you can install poly as a "tool":
1
clojure -Ttools install io.github.polyfy/polylith '{:git/tag "v0.2.13-alpha" :deps/root "projects/poly"}' :as poly
Copied!
Then you can invoke the poly tool using the CLI directly:
1
clojure -Tpoly info loc true
Copied!
You can get basic built-in help via the CLI's help machinery:
1
clojure -A:deps -Tpoly help/doc
Copied!
Note: the command-line argument syntax for "tool" usage follows the CLI "exec args" format which is essentially Clojure's own keyword/value syntax (it's actually read as EDN).
How to use the poly command as a tool is described in the Clojure CLI Tool section. The official documentation can be found here.
Last modified 3mo ago
Copy link