Closed
Description
Is your feature request related to a problem? Please describe.
This issue was created based on the comments in Scala CLI SIP.
The current scala
command starts repl with no arguments provided but with scala-cli repl
subcommand is needed. I think we should change the behaviour to match what scala
is doing now: running repl when no commands are provided.
Describe the solution you'd like
When running scala-cli
without any command, a reply should be started.
Additional context
We would need to find a way to display help for the whole scala-cli' tool. With the default changed, user running
scala-cli --helpmay expect either help for the whole
scala-clior the
repl` command. I can see 2 options:
scala-cli --help
prints the help for the whole tool with the mention that to see a help dedicated forrepl
command runscala-cli repl --help
scala-cli --help
prints the help forrepl
command with the mention that to see the whole help run e.g.scala-cli --help --all
I am personally prefer the former mechanism.
Metadata
Metadata
Assignees
Type
Projects
Status