Skip to content

Add version of Scala to the output of scala-cli --version #1250

Closed
@romanowski

Description

@romanowski

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.

Metadata

Metadata

Assignees

Labels

SIP-46All the issues related to SIP-46 to turn Scala CLI into the official scala runner command.

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions