← ZIO Cli docs

Variadic

zio.cli.Args.Variadic
final case class Variadic[+A](value: Args[A], min: Option[Int], max: Option[Int]) extends Args[List[A]]

Attributes

Source
Args.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Args[List[A]]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def ??(that: String): Args[List[A]]

Attributes

Source
Args.scala
override def isValid(input: String, conf: CliConfig): IO[ValidationError, List[String]]

Attributes

Definition Classes
Input
Source
Args.scala
override def parse(args: List[String], conf: CliConfig): IO[ValidationError, (List[String], List[String])]

Attributes

Definition Classes
Input
Source
Args.scala
def uid: Option[String]

Attributes

Source
Args.scala
def validate(args: List[String], conf: CliConfig): IO[ValidationError, (List[String], List[A])]

Attributes

Source
Args.scala

Inherited methods

final def *: Args[List[List[A]]]

Attributes

Inherited from:
Args
Source
Args.scala
final def +[A1 >: List[A]]: Args[::[A1]]

Attributes

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

Attributes

Inherited from:
Args
Source
Args.scala
final def atLeast(min: Int): Args[List[List[A]]]

Attributes

Inherited from:
Args
Source
Args.scala
final def atMost(max: Int): Args[List[List[A]]]

Attributes

Inherited from:
Args
Source
Args.scala
final def between(min: Int, max: Int): Args[List[List[A]]]

Attributes

Inherited from:
Args
Source
Args.scala
final def map[B](f: (List[A]) => B): Args[B]

Attributes

Inherited from:
Args
Source
Args.scala
final def mapOrFail[B](f: (List[A]) => Either[HelpDoc, B]): Args[B]

Attributes

Inherited from:
Args
Source
Args.scala
final def mapTry[B](f: (List[A]) => B): Args[B]

Attributes

Inherited from:
Args
Source
Args.scala

Attributes

Inherited from:
Product

Attributes

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

Attributes

Inherited from:
Args
Source
Args.scala
final def repeat1[A1 >: List[A]]: Args[::[A1]]

Attributes

Inherited from:
Args
Source
Args.scala

Concrete fields

lazy val helpDoc: HelpDoc

Attributes

Source
Args.scala
lazy val maxSize: Int

Attributes

Source
Args.scala
lazy val minSize: Int

Attributes

Source
Args.scala
lazy override val shortDesc: String

Attributes

Source
Args.scala

Attributes

Source
Args.scala

Inherited fields

lazy val tag: String

Attributes

Inherited from:
Args
Source
Args.scala