Add version of Scala to the output of scala-cli --version
#1250
Labels
SIP-46
All the issues related to SIP-46 to turn Scala CLI into the official scala runner command.
Is your feature request related to a problem? Please describe.
Getting the version of the launcher is important mainly for advanced users; beginners would expect to see a version of Scala used.
See more in the @julienrf comment: scala/improvement-proposals#46 (comment)
Describe the solution you'd like
When running
scala-cli --version
the default version of Scala is printed as well as the version of the launcher. With a provided argument (e.g.scala-cli --version .
), the version of Scala as configured in the argument should be provided.Describe alternatives you've considered
A dedicated command/argument to print Scala version.
The text was updated successfully, but these errors were encountered: