object ArgumentParser
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ArgumentParser
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- case class CommandInfo(name: String, action: (Seq[String]) => Unit, description: String) extends Product with Serializable
- case class ParamInfo(isNamed: Boolean, names: Seq[String], isFlag: Boolean, repeats: Boolean, env: Option[String], description: String, showDefault: Option[() => String], completer: (String) => Seq[String], bashCompleter: BashCompleter) extends Product with Serializable
User-friendly parameter information, used for generating help message
- sealed trait Result extends AnyRef
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply(description: String = "", enableHelpFlag: Boolean = true, enableBashCompletionFlag: Boolean = true, stdout: PrintStream = System.out, stderr: PrintStream = System.err): ArgumentParser
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def wrap(in: String, out: StringBuilder, width: Int, newLine: String): Unit
- case object EarlyExit extends Result with Product with Serializable
Parsing signalled an early exit.
Parsing signalled an early exit. This means that there wasn't an error, but that not all agruments were parsed, as one of them requested an early exit (for example --help). Arguments are not available.
- case object Error extends Result with Product with Serializable
There was an error during parsing.
There was an error during parsing. Arguments are not available.
- case object Success extends Result with Product with Serializable
Parsing succeeded.
Parsing succeeded. Arguments are available.