Run

object Run extends ScalaCommand[RunOptions]
class ScalaCommand[RunOptions]
class Command[RunOptions]
class CaseApp[RunOptions]
class Object
trait Matchable
class Any
Run.type

Type members

Inherited classlikes

implicit class EitherBuildExceptionOps[E <: BuildException, T](either: Either[E, T])
Inherited from:
CommandHelpers

Value members

Concrete methods

def buildOptions(options: RunOptions): BuildOptions
override def group: String
Definition Classes
Command
def run(options: RunOptions, args: RemainingArgs): Unit
def run(options: RunOptions, inputArgs: Seq[String], programArgs: Seq[String], defaultInputs: () => Option[Inputs]): Unit
override def sharedOptions(options: RunOptions): Option[SharedOptions]
Definition Classes
def withLinkedJs[T](build: Successful, mainClassOpt: Option[String], addTestInitializer: Boolean, config: ScalaJsLinkerConfig, fullOpt: Boolean, noOpt: Boolean, logger: Logger)(f: Path => T): Either[BuildException, T]
def withNativeLauncher[T](build: Successful, mainClass: String, logger: Logger)(f: Path => T): T

Inherited methods

protected def commandLength: Int
Inherited from:
ScalaCommand
def complete(args: Seq[String], index: Int): List[CompletionItem]
Inherited from:
CaseApp
override def completer: Completer[RunOptions]
Definition Classes
ScalaCommand -> CaseApp
Inherited from:
ScalaCommand
def ensureNoDuplicates(): Unit
Inherited from:
CaseApp
override def error(message: Error): Nothing
Definition Classes
ScalaCommand -> CaseApp
Inherited from:
ScalaCommand
def exit(code: Int): Nothing
Inherited from:
CaseApp
def expandArgs(args: List[String]): List[String]
Inherited from:
CaseApp
def fullHelpAsked(progName: String): Nothing
Inherited from:
CaseApp
override def hasFullHelp: Boolean
Definition Classes
ScalaCommand -> CaseApp
Inherited from:
ScalaCommand
def hasHelp: Boolean
Inherited from:
CaseApp
def helpAsked(progName: String, maybeOptions: Either[Error, RunOptions]): Nothing
Inherited from:
CaseApp
override def helpFormat: HelpFormat
Definition Classes
ScalaCommand -> CaseApp
Inherited from:
ScalaCommand
def hidden: Boolean
Inherited from:
Command
def ignoreUnrecognized: Boolean
Inherited from:
CaseApp
def inSipScala: Boolean
Inherited from:
ScalaCommand
def main(progName: String, args: Array[String]): Unit
Inherited from:
CaseApp
def main(args: Array[String]): Unit
Inherited from:
CaseApp
def maybePrintGroupHelp(options: RunOptions): Unit
Inherited from:
ScalaCommand
def maybePrintSimpleScalacOutput(options: RunOptions, buildOptions: BuildOptions): Unit

Print scalac output if passed options imply no inputs are necessary and raw scalac output is required instead. (i.e. --scalac-option -help)

Print scalac output if passed options imply no inputs are necessary and raw scalac output is required instead. (i.e. --scalac-option -help)

Value parameters:
options

command options

Inherited from:
ScalaCommand
def name: String
Inherited from:
Command
def names: List[List[String]]
Inherited from:
Command
def parser: Parser[RunOptions]
Inherited from:
CaseApp
override def setArgv(argv: Array[String]): Unit
Definition Classes
Inherited from:
ScalaCommand
Inherited from:
CaseApp
def usageAsked(progName: String, maybeOptions: Either[Error, RunOptions]): Nothing
Inherited from:
CaseApp

Inherited fields

protected var argvOpt: Option[Array[String]]
Inherited from:
ScalaCommand
lazy override val nameFormatter: Formatter[Name]
Inherited from:
ScalaCommand

Implicits

Inherited implicits

final implicit def EitherBuildExceptionOps[E <: BuildException, T](either: Either[E, T]): EitherBuildExceptionOps[E, T]
Inherited from:
CommandHelpers