Map

zio.cli.Options.Map
final case class Map[A, B](value: Options[A], f: A => Either[ValidationError, B]) extends Options[B]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Options[B]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def flatten: List[Options[_] & Input]

Attributes

Definition Classes
override def modifySingle(f0: SingleModifier): Options[B]

Attributes

Definition Classes
override def pipeline: (String, List[Parameter])

Attributes

Definition Classes
Pipeline

Inherited methods

final def ++[A1 >: B, B](that: Options[B])(implicit zippable: Zippable[B, B]): Options[zippable.Out]

Attributes

Inherited from:
Options
def ??(that: String): Options[B]

Attributes

Inherited from:
Options
def alias(name: String, names: String*): Options[B]

Attributes

Inherited from:
Options
final def as[B, C, D, E, F, G, Z](f0: (B, C, D, E, F, G) => Z)(implicit ev: B <:< (B, C, D, E, F, G)): Options[Z]

Attributes

Inherited from:
Options
final def as[B, C, D, E, F, Z](f0: (B, C, D, E, F) => Z)(implicit ev: B <:< (B, C, D, E, F)): Options[Z]

Attributes

Inherited from:
Options
final def as[B, C, D, E, Z](f: (B, C, D, E) => Z)(implicit ev: B <:< (B, C, D, E)): Options[Z]

Attributes

Inherited from:
Options
final def as[B, C, D, Z](f: (B, C, D) => Z)(implicit ev: B <:< (B, C, D)): Options[Z]

Attributes

Inherited from:
Options
final def as[B, C, Z](f: (B, C) => Z)(implicit ev: B <:< (B, C)): Options[Z]

Attributes

Inherited from:
Options
final def collect[B](message: String)(f: PartialFunction[B, B]): Options[B]

Attributes

Inherited from:
Options
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: B <:< Either[Either[Either[Either[Either[B, C], D], E], F], G]): Options[Z]

Attributes

Inherited from:
Options
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: B <:< Either[Either[Either[Either[B, C], D], E], F]): Options[Z]

Attributes

Inherited from:
Options
final def fold[B, C, D, E, Z](f1: B => Z, f2: C => Z, f3: D => Z, f4: E => Z)(implicit ev: B <:< Either[Either[Either[B, C], D], E]): Options[Z]

Attributes

Inherited from:
Options
final def fold[B, C, D, Z](f1: B => Z, f2: C => Z, f3: D => Z)(implicit ev: B <:< Either[Either[B, C], D]): Options[Z]

Attributes

Inherited from:
Options
final def fold[B, C, Z](f1: B => Z, f2: C => Z)(implicit ev: B <:< Either[B, C]): Options[Z]

Attributes

Inherited from:
Options
final def isBool: Boolean

Attributes

Inherited from:
Options
final def map[B](f: B => B): Options[B]

Attributes

Inherited from:
Options
final def mapOrFail[B](f: B => Either[ValidationError, B]): Options[B]

Attributes

Inherited from:
Options
final def optional: Options[Option[B]]

Attributes

Inherited from:
Options
final def orElse[A1 >: B](that: Options[A1]): Options[A1]

Attributes

Inherited from:
Options
final def orElseEither[B](that: Options[B]): Options[Either[B, B]]

Attributes

Inherited from:
Options

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
def withDefault[A1 >: B](value: A1): Options[A1]

Attributes

Inherited from:
Options
def withPseudoName(name: String): Options[B]

Customizes the name used to print a placeholder value in help strings.

Customizes the name used to print a placeholder value in help strings.

The default is the type name of the option (for example 'text', 'integer', etc.

Attributes

Inherited from:
Options
final def |[A1 >: B](that: Options[A1]): Options[A1]

Attributes

Inherited from:
Options

Concrete fields

lazy override val helpDoc: HelpDoc
lazy override val shortDesc: String
lazy override val uid: Option[String]
override val wrapped: Parameter

Inherited fields

lazy val tag: String

Attributes

Inherited from:
Options