Packages

sealed trait Options[+A] extends AnyRef

A Flag[A] models a command-line flag that produces a value of type A.

Self Type
Options[A]
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Options
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def helpDoc: HelpDoc
  2. abstract def synopsis: UsageSynopsis
  3. abstract def uid: Option[String]
  4. abstract def validate(args: List[String], conf: CliConfig): IO[ValidationError, (List[String], A)]

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ++[A1 >: A, B](that: Options[B])(implicit zippable: Zippable[A, B]): Options[Out]
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. def ??(that: String): Options[A]
  6. def alias(name: String, names: String*): Options[A]
  7. final def as[B, C, D, E, F, G, Z](f0: (B, C, D, E, F, G) => Z)(implicit ev: <:<[A, (B, C, D, E, F, G)]): Options[Z]
  8. final def as[B, C, D, E, F, Z](f0: (B, C, D, E, F) => Z)(implicit ev: <:<[A, (B, C, D, E, F)]): Options[Z]
  9. final def as[B, C, D, E, Z](f: (B, C, D, E) => Z)(implicit ev: <:<[A, (B, C, D, E)]): Options[Z]
  10. final def as[B, C, D, Z](f: (B, C, D) => Z)(implicit ev: <:<[A, (B, C, D)]): Options[Z]
  11. final def as[B, C, Z](f: (B, C) => Z)(implicit ev: <:<[A, (B, C)]): Options[Z]
  12. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  13. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  14. final def collect[B](message: String)(f: PartialFunction[A, B]): Options[B]
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  17. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  18. final def fold[B, C, D, E, F, G, Z](f1: (B) => Z, f2: (C) => Z, f3: (D) => Z, f4: (E) => Z, f5: (F) => Z, f6: (G) => Z)(implicit ev: <:<[A, Either[Either[Either[Either[Either[B, C], D], E], F], G]]): Options[Z]
  19. final def fold[B, C, D, E, F, Z](f1: (B) => Z, f2: (C) => Z, f3: (D) => Z, f4: (E) => Z, f5: (F) => Z)(implicit ev: <:<[A, Either[Either[Either[Either[B, C], D], E], F]]): Options[Z]
  20. final def fold[B, C, D, E, Z](f1: (B) => Z, f2: (C) => Z, f3: (D) => Z, f4: (E) => Z)(implicit ev: <:<[A, Either[Either[Either[B, C], D], E]]): Options[Z]
  21. final def fold[B, C, D, Z](f1: (B) => Z, f2: (C) => Z, f3: (D) => Z)(implicit ev: <:<[A, Either[Either[B, C], D]]): Options[Z]
  22. final def fold[B, C, Z](f1: (B) => Z, f2: (C) => Z)(implicit ev: <:<[A, Either[B, C]]): Options[Z]
  23. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  24. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. final def map[B](f: (A) => B): Options[B]
  27. final def mapOrFail[B](f: (A) => Either[ValidationError, B]): Options[B]
  28. final def mapTry[B](f: (A) => B): Options[B]
  29. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  32. final def optional(desc: String): Options[Option[A]]
  33. final def orElse[A1 >: A](that: Options[A1]): Options[A1]
  34. final def orElseEither[B](that: Options[B]): Options[Either[A, B]]
  35. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  36. def toString(): String
    Definition Classes
    AnyRef → Any
  37. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  38. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  39. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  40. def withDefault[A1 >: A](value: A1, valueDescription: String): Options[A1]
  41. def withDefault[A1 >: A](value: A1): Options[A1]
  42. final def |[A1 >: A](that: Options[A1]): Options[A1]

Inherited from AnyRef

Inherited from Any

Ungrouped