Packages

c

scala.tools.cmd

CommandLine

class CommandLine extends CommandLineConfig

An instance of a command line, parsed according to a Spec.

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CommandLine
  2. CommandLineConfig
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CommandLine(spec: Reference, args: Array[String])
  2. new CommandLine(spec: Reference, line: String)
  3. new CommandLine(spec: Reference, originalArgs: List[String])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val Terminator: String
  5. val ValueForUnaryOption: String
  6. def apply(arg: String): String
  7. 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.

  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  10. def enforceArity: Boolean
    Definition Classes
    CommandLineConfig
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. def errorFn(msg: String): Unit
  14. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def get(arg: String): Option[String]
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def getOrElse(arg: String, orElse: ⇒ String): String
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. def isSet(arg: String): Boolean
  21. def mapForUnary(opt: String): Map[String, String]
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. def onlyKnownOptions: Boolean
    Definition Classes
    CommandLineConfig
  26. val originalArgs: List[String]
  27. 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.

  28. val spec: Reference
  29. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  30. def toString(): String
    Definition Classes
    CommandLine → AnyRef → Any
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from CommandLineConfig

Inherited from AnyRef

Inherited from Any

Ungrouped