Launcher

wvlet.airframe.launcher.Launcher
See theLauncher companion object
case class Launcher extends LauncherBaseCompat

Attributes

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def add(l: Launcher, name: String, description: String): Launcher
def execute(argLine: String): LauncherResult
def execute(args: Array[String]): LauncherResult
def printHelp: Unit
def withCodecFactory(newCodecFactory: MessageCodecFactory): Launcher
def withDefaultCommand(newDefaultCommand: LauncherInstance => Any): Launcher

Set a function to be used when there is no command is specified

Set a function to be used when there is no command is specified

Attributes

Inherited methods

inline def addModule[M](name: String, description: String): Launcher

Add a sub command module to the launcher

Add a sub command module to the launcher

Attributes

name

sub command name

Inherited from:
LauncherBaseCompat
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product