scala.cli.launcher

Members list

Type members

Classlikes

object LauncherCli

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
final case class LauncherOptions(cliVersion: Option[String], cliScalaVersion: Option[String], powerOptions: PowerOptions)

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class PowerOptions(power: Boolean)

Options extracted from LauncherOptions to allow for parsing them separately. Thanks to this and additional parsing we can read the --power flag placed anywhere in the command invocation.

Options extracted from LauncherOptions to allow for parsing them separately. Thanks to this and additional parsing we can read the --power flag placed anywhere in the command invocation.

This option is duplicated in scala.cli.commands.shared.GlobalOptions so that we can ensure that no subcommand defines its own --power option Checking for clashing names is done in unit tests.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object PowerOptions

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type