Skip to content

Commit

Permalink
clojure-cli: find-versions :lib key requred
Browse files Browse the repository at this point in the history
Finding the latest available versions of a library with the Clojure CLI tool now requires a `:lib` key with the fully qualified library name as its value

```shell
clojure -X:deps find-versions :lib http-kit/http-kit
```

Signed-off-by: Practicalli Johnny <[email protected]>
  • Loading branch information
practicalli-johnny authored Jun 4, 2024
1 parent 49927bc commit fe25c77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/clojure-cli/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ The Clojure CLI has several built-in tasks. Additional tasks are provided via a
| [Run unit tests / watch for changes](https://practical.li/clojure/testing/test-runners/) | `clojure -X:test/run` or `clojure -X:test/watch` | Practicalli |
| Run the project (clojure.main) | `clojure -M -m domain.main-namespace` | *No Alias* |
| Find libraries (maven & git) | `clojure -M:search/library library-name` | Practicalli |
| Find library versions (maven) | `clojure -X:deps find-versions domain/library-name` | CLojure CLI |
| Find library versions (maven) | `clojure -X:deps find-versions :lib domain/library-name` | CLojure CLI |
| Download dependencies | `clojure -P` (plus optional execution flags with aliases) | CLojure CLI |
| Check for new dependency versions | `clojure -T:search/outdated` | Practicalli |
| Package library | `clojure -X:build/jar` and `clojure -X:build/uberjar` | Practicalli |
Expand Down

0 comments on commit fe25c77

Please sign in to comment.