scala-cli icon indicating copy to clipboard operation
scala-cli copied to clipboard

Accept wildcards in --extra-jars

Open alexarchambault opened this issue 2 years ago • 0 comments

Is your feature request related to a problem? Please describe. java -cp accepts * characters in the class path, that it expands to all JARs in the directory. (See java command line documentation here for example).

Describe the solution you'd like It'd be nice if scala-cli accepted such wildcards too, in --extra-jars.

Describe alternatives you've considered Without support for this, users handled a class path value containing such wildcards have to expand these on their own, before passing them to scala-cli, which is cumbersome.

alexarchambault avatar Apr 10 '23 13:04 alexarchambault