class CommandLine extends CommandLineConfig
An instance of a command line, parsed according to a Spec.
- Source
- CommandLine.scala
Linear Supertypes
Known Subclasses
Type Hierarchy
Ordering
- Alphabetic
- By Inheritance
Inherited
- CommandLine
- CommandLineConfig
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
Value Members
- val Terminator: String
- val ValueForUnaryOption: String
- def apply(arg: String): String
-
lazy val
argMap: Map[String, String]
argMap is option -> argument (or "true" if it is a unary argument) residualArgs are what is left after removing the options and their args.
-
def
enforceArity: Boolean
- Definition Classes
- CommandLineConfig
- def errorFn(msg: String): Unit
- def get(arg: String): Option[String]
- def getOrElse(arg: String, orElse: ⇒ String): String
- def isSet(arg: String): Boolean
- def mapForUnary(opt: String): Map[String, String]
-
def
onlyKnownOptions: Boolean
- Definition Classes
- CommandLineConfig
- val originalArgs: List[String]
-
lazy val
residualArgs: List[String]
argMap is option -> argument (or "true" if it is a unary argument) residualArgs are what is left after removing the options and their args.
- val spec: Reference
-
def
toString(): String
- Definition Classes
- CommandLine → AnyRef → Any
The Scala compiler and reflection APIs.