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
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Options
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def generateArgs: UIO[List[String]]
  2. abstract def helpDoc: HelpDoc
  3. abstract def synopsis: UsageSynopsis
  4. abstract def uid: Option[String]
  5. 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( ... ) @native() @IntrinsicCandidate()
  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: Any): Boolean
    Definition Classes
    AnyRef → Any
  17. 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]
  18. 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]
  19. 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]
  20. 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]
  21. final def fold[B, C, Z](f1: (B) ⇒ Z, f2: (C) ⇒ Z)(implicit ev: <:<[A, Either[B, C]]): Options[Z]
  22. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  23. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  24. final def isBool: Boolean
  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() @IntrinsicCandidate()
  31. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  32. final def optional: 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 primitiveType: Option[PrimType[A]]
  36. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  37. def toString(): String
    Definition Classes
    AnyRef → Any
  38. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  40. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. def withDefault[A1 >: A](value: A1): Options[A1]
  42. final def |[A1 >: A](that: Options[A1]): Options[A1]

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped