Map

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

Attributes

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

Members list

Value members

Concrete methods

def ??(that: String): Args[B]
def uid: Option[String]
def validate(args: List[String], conf: CliConfig): IO[ValidationError, (List[String], B)]

Inherited methods

final def *: Args[List[B]]

Attributes

Inherited from:
Args
final def +[A1 >: B]: Args[::[A1]]

Attributes

Inherited from:
Args
final def ++[B](that: Args[B])(implicit zippable: Zippable[B, B]): Args[zippable.Out]

Attributes

Inherited from:
Args
final def atLeast(min: Int): Args[List[B]]

Attributes

Inherited from:
Args
final def atMost(max: Int): Args[List[B]]

Attributes

Inherited from:
Args
final def between(min: Int, max: Int): Args[List[B]]

Attributes

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

Attributes

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

Attributes

Inherited from:
Args
final def mapTry[B](f: B => B): Args[B]

Attributes

Inherited from:
Args

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
final def repeat: Args[List[B]]

Attributes

Inherited from:
Args
final def repeat1[A1 >: B]: Args[::[A1]]

Attributes

Inherited from:
Args

Concrete fields

lazy val helpDoc: HelpDoc
lazy val maxSize: Int
lazy val minSize: Int
override val pipeline: (String, List[Parameter])
lazy override val shortDesc: String
override val wrapped: Parameter

Inherited fields

lazy val tag: String

Attributes

Inherited from:
Args