abstract class OParserBuilder[C] extends AnyRef
- Alphabetic
- By Inheritance
- OParserBuilder
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new OParserBuilder()
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 arg[A](name: String)(implicit arg0: Read[A]): OParser[A, C]
adds an argument invoked by an option without
-
or--
.adds an argument invoked by an option without
-
or--
.- name
name in the usage text
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def checkConfig(f: (C) => Either[String, Unit]): OParser[Unit, C]
adds final check.
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def cmd(name: String): OParser[Unit, C]
adds a command invoked by an option without
-
or--
.adds a command invoked by an option without
-
or--
.- name
name of the command
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def failure(msg: String): Either[String, Unit]
call this to express failure in custom validation.
- 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()
- def head(xs: String*): OParser[Unit, C]
adds usage text.
- def help(x: Char, name: String): OParser[Unit, C]
adds an option invoked by
-x
or--name
that displays usage text and exits.adds an option invoked by
-x
or--name
that displays usage text and exits.- x
name of the short option
- name
name of the option
- def help(name: String): OParser[Unit, C]
adds an option invoked by
--name
that displays usage text and exits.adds an option invoked by
--name
that displays usage text and exits.- name
name of the option
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def makeDef[A](kind: OptionDefKind, name: String)(implicit arg0: Read[A]): OptionDef[A, C]
- Attributes
- protected
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def note(x: String): OParser[Unit, C]
adds usage text.
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def opt[A](x: Char, name: String)(implicit arg0: Read[A]): OParser[A, C]
adds an option invoked by
-x value
or--name value
.adds an option invoked by
-x value
or--name value
.- x
name of the short option
- name
name of the option
- def opt[A](name: String)(implicit arg0: Read[A]): OParser[A, C]
adds an option invoked by
--name x
.adds an option invoked by
--name x
.- name
name of the option
- def programName(x: String): OParser[Unit, C]
- def success: Either[String, Unit]
call this to express success in custom validation.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def version(x: Char, name: String): OParser[Unit, C]
adds an option invoked by
-x
or--name
that displays header text and exits.adds an option invoked by
-x
or--name
that displays header text and exits.- x
name of the short option
- name
name of the option
- def version(name: String): OParser[Unit, C]
adds an option invoked by
--name
that displays header text and exits.adds an option invoked by
--name
that displays header text and exits.- name
name of the option
- 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[A](d: OptionDef[A, C]): OParser[A, C]
- Attributes
- protected