From fe25c777bd0876ee7337053cdb379939e9dc369c Mon Sep 17 00:00:00 2001 From: Practicalli Johnny <250870+practicalli-johnny@users.noreply.github.com> Date: Tue, 4 Jun 2024 17:52:14 +0100 Subject: [PATCH] clojure-cli: find-versions :lib key requred 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 <250870+practicalli-johnny@users.noreply.github.com> --- docs/clojure-cli/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/clojure-cli/index.md b/docs/clojure-cli/index.md index 2e74daa3b..2a74b90ab 100644 --- a/docs/clojure-cli/index.md +++ b/docs/clojure-cli/index.md @@ -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 |