In our deps.edn we have a :dev alias that specifies :extra-deps and :extra-paths. Not having much background in Java I found it quite confusing that I need to run with clj -R:dev -C:dev for both flags in my alias to take effect.
I'd vote for having just one flag i.e. -A for all flags of an alias to take effect. The grouping under one :aliases map suggests it would behave that way. An alternative would be to split up aliases into resolve-args and classpath-overrides but that would make it even harder to use.
I'm happy to provide a patch if this is something you'd consider.
In our
deps.ednwe have a:devalias that specifies:extra-depsand:extra-paths. Not having much background in Java I found it quite confusing that I need to run withclj -R:dev -C:devfor both flags in my alias to take effect.I'd vote for having just one flag i.e.
-Afor all flags of an alias to take effect. The grouping under one:aliasesmap suggests it would behave that way. An alternative would be to split up aliases into resolve-args and classpath-overrides but that would make it even harder to use.I'm happy to provide a patch if this is something you'd consider.