can we expect tools.deps CLI to flip the switch on -A
to always launch a REPL rather than executing :main-opts
anytime soon? I sometimes just want a REPL with the tests on the classpath, clj -A:test
, and not execute the test runner
I know you can work around this by making moar aliases, but I'm just too lazy/tired to do that :-D
I think the deprecation warning has been there long enough now, personally
Where was that table again where you could see which version of the CLI packaged which tools jar?
ah, just found it in the zulip slack archive of the #clj-on-windows channel too :) thanks
I don't know. I'm still running across users who don't even know about -X
so they still expect -A
to work as it always has (and they're sometimes very confused that -M
has changed behavior). Like you, I feel -A
has had that "legacy" behavior long enough at this point but I think we're more "leading edge" users than most Clojurians as far as the CLI goes?
As for the test runner, I've switched to -X
for Cognitect's test-runner
these days so -A:test
just starts a REPL for me 🙂
I'm starting to think about thinking about removing the deprecation :)
preserve the old behavior? why?
And then have -A
and -M
be identical? Oh, hey, I guess -R
could be used/extended/brought back to start a Repl! 🙂 🙂
In that case I'll wait a bit longer with upgrading my OSS CI configs ;)
sorry that was unclear, by "remove the deprecation" and I mean make it stop working
that is, no change in plans
Hahaha... OK, good. The sooner the better, IMO, but I understand that not all CLI users are there yet 🙂
deps.clj: A faithful port of the clojure
bash script to Clojure
Used as native CLI, deps resolver in babashka and getting started REPL in Calva.
New release: v0.0.16
https://github.com/borkdude/deps.clj/releases/tag/v0.0.16
I did create some aliases for you if you want to use them 🙂 practicalli/clojure-deps-edn