Fork me on GitHub
#tools-deps
<
2022-08-06
>
rads15:08:31

Now that :main-opts is deprecated with -A, are there any explicit use cases to call out for -A other than starting a REPL?

clj [clj-opts] [-Aaliases] [init-opts]

-Aaliases
              Concatenated aliases for REPL execution, ex: -A:dev:mem
Just want to clarify this for myself and others as I go through and update docs which previously used clj -A:foo to invoke main functions

Alex Miller (Clojure team)17:08:48

-A will continue to work for all modes but, yes it is expected that primary use is supplying aliases with repl execution