c

scopt

OParserBuilder

abstract class OParserBuilder[C] extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. OParserBuilder
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new OParserBuilder()

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. 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

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def checkConfig(f: (C) => Either[String, Unit]): OParser[Unit, C]

    adds final check.

  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. 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

  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. def failure(msg: String): Either[String, Unit]

    call this to express failure in custom validation.

  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def head(xs: String*): OParser[Unit, C]

    adds usage text.

  16. 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

  17. 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

  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. def makeDef[A](kind: OptionDefKind, name: String)(implicit arg0: Read[A]): OptionDef[A, C]
    Attributes
    protected
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. def note(x: String): OParser[Unit, C]

    adds usage text.

  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. 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

  25. 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

  26. def programName(x: String): OParser[Unit, C]
  27. def success: Either[String, Unit]

    call this to express success in custom validation.

  28. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  29. def toString(): String
    Definition Classes
    AnyRef → Any
  30. 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

  31. 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

  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  35. def wrap[A](d: OptionDef[A, C]): OParser[A, C]
    Attributes
    protected

Inherited from AnyRef

Inherited from Any

Ungrouped