trait Simple[T] extends ShortNamed[T]

A TokensReader for a single CLI parameter that takes a value e.g. --foo bar

Linear Supertypes
ShortNamed[T], Terminal[T], TokensReader[T], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Simple
  2. ShortNamed
  3. Terminal
  4. TokensReader
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def read(strs: Seq[String]): Either[String, T]

    Converts the given input tokens to a T or an error String.

    Converts the given input tokens to a T or an error String. The input is a Seq because input tokens can be passed more than once, e.g. --foo bar --foo qux will result in read being passed ["foo", "qux"]

  2. abstract def shortName: String

    The label that shows up in the CLI help message, e.g.

    The label that shows up in the CLI help message, e.g. the bar in --foo <bar>

    Definition Classes
    ShortNamed

Concrete 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 allowEmpty: Boolean

    Whether this CLI param can be no passed from the CLI, even if a default value is not specified.

    Whether this CLI param can be no passed from the CLI, even if a default value is not specified. In that case, read receives an empty Seq

  5. def alwaysRepeatable: Boolean

    Whether is CLI param is repeatable

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  11. final def getClass(): java.lang.Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def isClass: Boolean
    Definition Classes
    TokensReader
  14. def isConstant: Boolean
    Definition Classes
    TokensReader
  15. def isFlag: Boolean
    Definition Classes
    TokensReader
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def isLeftover: Boolean
    Definition Classes
    TokensReader
  18. def isSimple: Boolean
    Definition Classes
    Simple → TokensReader
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from ShortNamed[T]

Inherited from Terminal[T]

Inherited from TokensReader[T]

Inherited from AnyRef

Inherited from Any

Ungrouped