final
case class
Single[+A](name: String, aliases: Vector[String], primType: PrimType[A], description: HelpDoc = HelpDoc.Empty) extends Options[A] with Product with Serializable
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
++[A1 >: A, B](that: Options[B])(implicit zippable: Zippable[A, B]): Options[Out]
-
final
def
==(arg0: Any): Boolean
-
def
??(that: String): Options[A]
-
def
alias(name: String, names: String*): Options[A]
-
val
aliases: Vector[String]
-
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]
-
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]
-
final
def
as[B, C, D, E, Z](f: (B, C, D, E) ⇒ Z)(implicit ev: <:<[A, (B, C, D, E)]): Options[Z]
-
final
def
as[B, C, D, Z](f: (B, C, D) ⇒ Z)(implicit ev: <:<[A, (B, C, D)]): Options[Z]
-
final
def
as[B, C, Z](f: (B, C) ⇒ Z)(implicit ev: <:<[A, (B, C)]): Options[Z]
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
final
def
collect[B](message: String)(f: PartialFunction[A, B]): Options[B]
-
val
description: HelpDoc
-
-
def
finalize(): Unit
-
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]
-
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]
-
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]
-
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]
-
final
def
fold[B, C, Z](f1: (B) ⇒ Z, f2: (C) ⇒ Z)(implicit ev: <:<[A, Either[B, C]]): Options[Z]
-
final
def
getClass(): Class[_]
-
lazy val
helpDoc: HelpDoc
-
final
def
isInstanceOf[T0]: Boolean
-
final
def
map[B](f: (A) ⇒ B): Options[B]
-
final
def
mapOrFail[B](f: (A) ⇒ Either[ValidationError, B]): Options[B]
-
final
def
mapTry[B](f: (A) ⇒ B): Options[B]
-
-
val
name: String
-
lazy val
names: List[String]
-
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
-
final
def
orElse[A1 >: A](that: Options[A1]): Options[A1]
-
final
def
orElseEither[B](that: Options[B]): Options[Either[A, B]]
-
val
primType: PrimType[A]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
-
lazy val
uid: Option[String]
-
def
validate(args: List[String], conf: CliConfig): IO[ValidationError, (List[String], A)]
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
def
withDefault[A1 >: A](value: A1): Options[A1]
-
final
def
|[A1 >: A](that: Options[A1]): Options[A1]