OptionParser

wvlet.airframe.launcher.OptionParser
See theOptionParser companion class
object OptionParser extends LogSupport

Creates option parsers

Attributes

Companion
class
Graph
Supertypes
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type

Members list

Type members

Classlikes

case class ArgMapping(opt: CLArgItem, value: String) extends OptionMapping

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class ArgMappingMultiple(opt: CLArgument, value: Seq[String]) extends OptionMapping

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
trait CLArgItem extends CLOptionItem

Attributes

Supertypes
trait CLOptionItem
class Object
trait Matchable
class Any
Known subtypes
class CLArgument
case class CLArgument(path: Path, arg: argument, argIndex: Int, param: Parameter) extends CLOptionItemBase, CLArgItem

CommandTrait line argument type and the associated class parameter

CommandTrait line argument type and the associated class parameter

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait CLArgItem
trait CLOptionItem
class Object
trait Matchable
class Any
Show all
case class CLOption(path: Path, annot: option, param: Parameter) extends CLOptionItemBase

CommandTrait line option and the associated class parameter

CommandTrait line option and the associated class parameter

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait CLOptionItem
class Object
trait Matchable
class Any
Show all
sealed trait CLOptionItem

command-line option

command-line option

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait CLArgItem
class CLArgument
class CLOption
abstract class CLOptionItemBase(val param: Parameter) extends CLOptionItem

Attributes

Supertypes
trait CLOptionItem
class Object
trait Matchable
class Any
Known subtypes
class CLArgument
class CLOption
case class OptMapping(opt: CLOption, value: String) extends OptionMapping

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class OptMappingMultiple(opt: CLOption, value: Seq[String]) extends OptionMapping

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class OptSetFlag(opt: CLOption) extends OptionMapping

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
sealed abstract class OptionMapping

Option -> value mapping result

Option -> value mapping result

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
case class OptionParserResult(parseTree: StringTree, unusedArgument: Array[String], showHelp: Boolean) extends LogSupport

Attributes

Supertypes
trait Product
trait Equals
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

def apply(surface: Surface): OptionParser
def tokenize(line: String): Array[String]

Inherited methods

inline protected def debug(inline message: Any, inline cause: Throwable): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def debug(inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def error(inline message: Any, inline cause: Throwable): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def error(inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def info(inline message: Any, inline cause: Throwable): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def info(inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def logAt(inline logLevel: LogLevel, inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def trace(inline message: Any, inline cause: Throwable): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def trace(inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def warn(inline message: Any, inline cause: Throwable): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def warn(inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods