scala.tools.cmd

CommandLine

class CommandLine extends CommandLineConfig

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

Source
CommandLine.scala
Linear Supertypes
CommandLineConfig, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. CommandLine
  2. CommandLineConfig
  3. AnyRef
  4. Any
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: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. val Terminator: String

  7. val ValueForUnaryOption: String

  8. def apply(arg: String): String

  9. lazy val argMap: Map[String, String]

    argMap is option -> argument (or "" if it is a unary argument) residualArgs are what is left after removing the options and their args.

  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  12. def enforceArity: Boolean

    Definition Classes
    CommandLineConfig
  13. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  15. def errorFn(msg: String): Unit

  16. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  17. def get(arg: String): Option[String]

  18. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  19. def getOrElse(arg: String, orElse: ⇒ String): String

  20. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  21. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  22. def isSet(arg: String): Boolean

  23. def mapForUnary(opt: String): Map[String, String]

  24. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  25. final def notify(): Unit

    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  27. def onlyKnownOptions: Boolean

    Definition Classes
    CommandLineConfig
  28. val originalArgs: List[String]

  29. lazy val residualArgs: List[String]

    argMap is option -> argument (or "" if it is a unary argument) residualArgs are what is left after removing the options and their args.

  30. val spec: Reference

  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  32. def toString(): String

    Definition Classes
    CommandLine → AnyRef → Any
  33. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  34. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  35. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from CommandLineConfig

Inherited from AnyRef

Inherited from Any