You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: content/reference/clojure_cli.adoc
+5-5
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ Any version of the Clojure CLI can use any version of the Clojure language. Gene
26
26
27
27
The CLI is invoked via either `clojure` or `clj`. In general, you can treat these interchangeably but `clj` includes `rlwrap` for extended keyboard editing, particularly useful with the REPL. This reference uses `clj` for REPL examples and `clojure` for non-REPL examples.
28
28
29
-
Each execution of the Clojure CLI runs a Clojure program by determining all paths, dependencies, and main entry point, then invoking the program on the JVM. The primary kind of execution is determined by `-X`, `-T`, and `-M` (or their absence). Configuration is defined by one or more <<deps_edn,deps.edn>> files in combination with the <<clojure_cli#options,command-line options>>.
29
+
Each execution of the Clojure CLI runs a Clojure program by determining all paths, dependencies, and main entry point, then invoking the program on the JVM. The primary kind of execution is determined by `-X`, `-T`, and `-M` (or their absence). Configuration is defined by one or more <<deps_edn#,deps.edn>> files in combination with the <<clojure_cli#options,command-line options>>.
The Clojure CLI is designed to provide access to programs (functions) in other libraries with their own independent classpath. This capability is leveraged to provide expanded functionality via the built-in `:deps` alias in the root deps.edn, which provides the https://github.com/clojure/tools.deps.cli[tools.deps.cli] (see https://clojure.github.io/tools.deps.cli[API]).
602
+
The Clojure CLI is designed to provide access to programs (functions) in other libraries with their own independent classpath. This capability is leveraged to provide expanded functionality via the built-in `:deps` alias in the root deps.edn, which provides the https://github.com/clojure/tools.deps.cli[tools.deps.cli] (see https://clojure.github.io/tools.deps.cli/[API]).
603
603
604
604
[[deps_list]]
605
605
=== Dependency list
@@ -734,7 +734,7 @@ The params that can be provided are:
734
734
735
735
`find-versions` will print the git or Maven coordinates, one per line, to the console.
736
736
737
-
[[deps_install]]
737
+
[[deps_mvn_install]]
738
738
=== Local Maven install
739
739
740
740
The `-X:deps mvn-install` program is provided with the Clojure CLI for convenience and can be executed with `-X` to install a jar into your local Maven cache.
@@ -769,7 +769,7 @@ As mentioned above, edn strings must be in double quotes, and then single-quoted
769
769
770
770
A pom file must be either provided explicitly, generated from :lib/:version, or found inside the .jar file (the default).
771
771
772
-
[[deps_pom]]
772
+
[[deps_mvn_pom]]
773
773
=== Generate Maven pom
774
774
775
775
Use the following program to generate or update an existing pom.xml with the deps and paths from your project:
@@ -916,7 +916,7 @@ The coordinate attributes determine which procurer is used. In general, most pro
916
916
917
917
Some procurers may also look for configuration attributes at the root of the deps.edn configuration map using the the same qualifier.
918
918
919
-
[[procurer_maven]]
919
+
[[procurer_mvn]]
920
920
=== Maven
921
921
922
922
The Maven procurer uses the qualifier `mvn` and is used to retrieve library artifacts from https://maven.apache.org/[Maven repositories], the standard repository manager in the Java ecosystem. Libraries are downloaded as .jar files and stored in the Maven local repository cache (located in ~/.m2/repository by default). Other JVM-based tools may also use this cache.
0 commit comments