Both

zio.cli.Options.Both
final case class Both[A, B](left: Options[A], right: Options[B]) extends Options[(A, B)]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Options[(A, 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(f: SingleModifier): Options[(A, B)]

Attributes

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

Attributes

Definition Classes
Pipeline
override def validate(args: Map[String, List[String]], conf: CliConfig): IO[ValidationError, (A, B)]

Attributes

Definition Classes

Inherited methods

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

Attributes

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

Attributes

Inherited from:
Options
def alias(name: String, names: String*): Options[(A, 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: (A, 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: (A, 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: (A, 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: (A, B) <:< (B, C, D)): Options[Z]

Attributes

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

Attributes

Inherited from:
Options
final def collect[B](message: String)(f: PartialFunction[(A, 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: (A, 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: (A, 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: (A, 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: (A, 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: (A, B) <:< Either[B, C]): Options[Z]

Attributes

Inherited from:
Options
final def isBool: Boolean

Attributes

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

Attributes

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

Attributes

Inherited from:
Options
final def optional: Options[Option[(A, B)]]

Attributes

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

Attributes

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

Attributes

Inherited from:
Options

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Attributes

Inherited from:
Parameter (hidden)
def withDefault[A1 >: (A, B)](value: A1): Options[A1]

Attributes

Inherited from:
Options
def withPseudoName(name: String): Options[(A, 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 >: (A, B)](that: Options[A1]): Options[A1]

Attributes

Inherited from:
Options

Concrete fields

lazy override val helpDoc: HelpDoc
lazy override val uid: Option[String]

Inherited fields

lazy val tag: String

Attributes

Inherited from:
Options