Skip to content

Commit

Permalink
Ensure all launcher options are properly tagged
Browse files Browse the repository at this point in the history
  • Loading branch information
Gedochao committed Feb 21, 2023
1 parent 944acd4 commit cfc88b1
Showing 1 changed file with 6 additions and 0 deletions.
Expand Up @@ -2,19 +2,25 @@ package scala.cli.launcher

import caseapp.*

import scala.cli.commands.tags

@HelpMessage("Run another Scala CLI version")
final case class LauncherOptions(
@Group("Launcher")
@HelpMessage("Set the Scala CLI version")
@ValueDescription("nightly|version")
@Tag(tags.implementation)
@Tag(tags.inShortHelp)
cliVersion: Option[String] = None,
@Group("Launcher")
@HelpMessage("The version of Scala on which Scala CLI was published")
@ValueDescription("2.12|2.13|3")
@Hidden
@Tag(tags.implementation)
cliScalaVersion: Option[String] = None,
@Group("Launcher")
@HelpMessage("When called as 'scala', allow to use power commands too")
@Tag(tags.must)
power: Boolean = false
)

Expand Down

0 comments on commit cfc88b1

Please sign in to comment.