Skip to content

Commit 116f3d1

Browse files
install: remove -Sdescribe (deprecated), use --version
1 parent 091236e commit 116f3d1

File tree

2 files changed

+10
-17
lines changed

2 files changed

+10
-17
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
- reference: creative coding overview
1010
- dev: add scheduled stale issue & pull request check
1111
- editors: open source plugins for Intellij IDEA editor
12+
- install: remove -Sdescribe (deprecated), use --version
1213

1314
## Changed
1415
- clojure-cli: enhance built-in commands description

docs/install/clojure-cli.md

Lines changed: 9 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -156,29 +156,17 @@ Clone [:fontawesome-solid-book-open: Practicalli Clojure CLI Config](https://git
156156

157157
## Check Configuration
158158

159-
`clojure -Sdescribe` shows the version of Clojure CLI installed and configuration locations used.
159+
The `--version` flag shows prints the current version of Clojure CLI.
160160

161161
```shell
162-
clojure -Sdescribe
162+
clojure --version
163163
```
164164

165-
The output of the command includes the version of Clojure CLI in the `:version` key
165+
![Clojure CLI version](https://github.com/practicalli/graphic-design/blob/live/clojure/clojure-cli/clojure-cli-install-check-version.png?raw=true){loading=lazy}
166166

167-
```shell
168-
{:version "1.11.1.1386"
169-
:config-files ["/usr/local/lib/clojure/deps.edn" "/home/practicalli/.config/clojure/deps.edn" ]
170-
:config-user "/home/practicalli/.config/clojure/deps.edn"
171-
:config-project "deps.edn"
172-
:install-dir "/usr/local/lib/clojure"
173-
:config-dir "/home/practicalli/.config/clojure"
174-
:cache-dir "/home/practicalli/.cache/clojure"
175-
:force false
176-
:repro false
177-
:main-aliases ""
178-
:repl-aliases ""}
179-
```
180167

181-
> `clojure -Sversion` will shows the version of Clojure CLI being when the `clojure` command is used to run a REPL or other Clojure command.
168+
> NOTE: `clojure -Sdescribe` is now deprecated and will be removed. Use tools.build API if more details are required about the configuration of Clojure CLI.
169+
182170

183171
## Optional rlwrap readline
184172

@@ -194,3 +182,7 @@ Pressing the ++arrow-up++ and ++arrow-down++ keys will scroll through the code p
194182
Rebel is a much richer experience than the `clj` wrapper with `rlwrap`. Rebel should not be used with `clj`.
195183

196184
Rebel Readline is part of the [Practicalli Clojure CLI config](#practicalli-clojure-cli-config).
185+
186+
```shell
187+
clojure -M:repl/rebel
188+
```

0 commit comments

Comments
 (0)