Allow run
with no sources / replacing cs launch
#2840
Labels
enhancement
New feature or request
Projects
Is your feature request related to a problem? Please describe.
scala-cli is almost capable of replacing
cs launch
from Coursier: the only thing that appears to be missing, in order to be able to run an arbitrary application from dependencies, is thatscala-cli run
requires at least one source file / directory.For example:
Describe the solution you'd like
If dependencies are provided, relax the requirement of having to pass a file/directory.
In addition, there are a couple nice-to-haves:
--server=false
?)Describe alternatives you've considered
cs launch
as usualAdditional context
This would be nice to enable the usage of code generators, such as smithy4s, without waiting for #610. For example, at the moment:
which isn't terrible, but still requires that dummy directory (
.
).The text was updated successfully, but these errors were encountered: