wvlet.airframe.launcher
Members list
Type members
Classlikes
Attributes
- Companion
- class
- Supertypes
-
trait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass AnyShow all
- Self type
-
ClassOptionSchema.type
OptionSchema created from a class definition
OptionSchema created from a class definition
Attributes
- Companion
- object
- Supertypes
-
trait OptionSchematrait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass AnyShow all
Command launcher.
Command launcher.
class MyCommand(@option(prefix="-h,--help", description="display help", isHelp=true) help:Boolean) {
@command(description="Say hello")
def hello(@option(prefix="-r", description="repeat times")
repeat:Int=1,
@argument
message:String = "hello") {
for(i <- 0 until repeat) println(message)
}
}
Launcher.execute[MyCommand]("hello -r 3") // hello x 3
Attributes
- Supertypes
-
trait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class CommandLauncher
- Self type
Interface for printing help messages
Interface for printing help messages
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Companion
- trait
- Supertypes
-
trait AnsiColorPalettetrait AnsiColortrait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass AnyShow all
- Self type
-
HelpMessagePrinter.type
Command launcher
Command launcher
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrortrait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializabletrait LauncherCompatclass Objecttrait Matchableclass AnyShow all
- Self type
-
Launcher.type
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait LauncherBaseCompatclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object Launcher.type
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Command execution results
Command execution results
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
MethodOptionSchema.type
OptionSchema created from a method definition
OptionSchema created from a method definition
Attributes
- Companion
- object
- Supertypes
-
trait OptionSchematrait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass AnyShow all
Creates option parsers
Creates option parsers
Attributes
- Companion
- class
- Supertypes
-
trait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass AnyShow all
- Self type
-
OptionParser.type
CommandTrait-line argument parser
CommandTrait-line argument parser
Attributes
- Companion
- object
- Supertypes
-
trait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass AnyShow all
Schema of the command line options
Schema of the command line options
Attributes
- Supertypes
-
trait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class ClassOptionSchemaclass MethodOptionSchema
Holder of structured data consisting of named values. ValueHolder is immutable, so the set operations in this class return another ValueHolder and never modify the original ValueHolder.
Holder of structured data consisting of named values. ValueHolder is immutable, so the set operations in this class return another ValueHolder and never modify the original ValueHolder.
A(a, B(b, c))
{ a: apple, B:{b:book, c:car} }
val n1 = EmptyNode.set("a", apple) => Node(a -> Leaf(apple))
val n2 = n1.set("B.b", "book") => Node(a -> Leaf(apple), B -> EmptyNode.set("b", "book")) => Node(a -> apple, B -> Node(b -> Leaf(book)))
val n3 = n2.set("B.c", "car") => Node(a -> apple, B -> Node(b -> Leaf(book), c -> Leaf(car)))
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Companion
- trait
- Supertypes
-
trait Sumtrait Mirrortrait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass AnyShow all
- Self type
-
StringTree.type
Attributes
- Supertypes
-
trait MessageCodec[StringTree]trait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass AnyShow all
- Self type
-
StringTreeCodec.type