Object/Trait

zio.cli

Args

Related Docs: trait Args | package cli

Permalink

object Args

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Args
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final case class Both[+A, +B](head: Args[A], tail: Args[B]) extends Args[(A, B)] with Product with Serializable

    Permalink
  2. final case class Map[A, B](value: Args[A], f: (A) ⇒ Either[HelpDoc, B]) extends Args[B] with Product with Serializable

    Permalink
  3. final case class Single[+A](pseudoName: Option[String], primType: PrimType[A], description: HelpDoc = HelpDoc.Empty) extends Args[A] with Product with Serializable

    Permalink
  4. final case class Variadic[+A](value: Args[A], min: Option[Int], max: Option[Int]) extends Args[List[A]] with Product with Serializable

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object Empty extends Args[Unit] with Product with Serializable

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def bool(name: String): Args[Boolean]

    Permalink

    Creates a boolean argument with a custom argument name

    Creates a boolean argument with a custom argument name

    name

    Argument name

    returns

    Boolean argument

  7. val bool: Args[Boolean]

    Permalink

    Creates a boolean argument with boolean as argument name

  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def decimal(name: String): Args[BigDecimal]

    Permalink

    Creates a decimal argument with a custom argument name

    Creates a decimal argument with a custom argument name

    name

    Argument name

    returns

    Decimal argument

  10. val decimal: Args[BigDecimal]

    Permalink

    Creates a decimal argument with 'decimal' as argument name

  11. def directory(exists: Exists): Args[Path]

    Permalink

    Creates a directory argument with 'directory' as argument name

    Creates a directory argument with 'directory' as argument name

    exists

    Yes if path is expected to exists, No otherwise or Either is both are acceptable.

    returns

    Directory argument

  12. def directory(name: String, exists: Exists = Exists.Either): Args[Path]

    Permalink

    Creates a directory argument with a custom argument name

    Creates a directory argument with a custom argument name

    name

    Argument name

    exists

    Yes if path is expected to exists, No otherwise or Either is both are acceptable.

    returns

    Directory argument

  13. val directory: Args[Path]

    Permalink

    Creates a directory argument with 'directory' as argument name, and exists being 'Either'

  14. def enumeration[A](cases: (String, A)*): Args[A]

    Permalink

    Creates a enumeration argument with 'choice' as argument name

    Creates a enumeration argument with 'choice' as argument name

    cases

    Enum cases

    returns

    Enumeration argument

  15. def enumeration[A](name: String)(cases: (String, A)*): Args[A]

    Permalink

    Creates a enumeration argument with a custom argument name

    Creates a enumeration argument with a custom argument name

    name

    Argument name

    cases

    Enum cases

    returns

    Enumeration argument

  16. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  18. def file(exists: Exists): Args[Path]

    Permalink

    Creates a file argument with 'file' as argument name

    Creates a file argument with 'file' as argument name

    exists

    Yes if path is expected to exists, No otherwise or Either is both are acceptable.

    returns

    File argument

  19. def file(name: String, exists: Exists = Exists.Either): Args[Path]

    Permalink

    Creates a file argument with a custom argument name

    Creates a file argument with a custom argument name

    name

    Argument name

    exists

    Yes if path is expected to exists, No otherwise or Either is both are acceptable.

    returns

    File argument

  20. val file: Args[Path]

    Permalink

    Creates a file argument with 'file' as argument name, and exists being 'Either'

  21. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  22. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  23. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  24. def instant(name: String): Args[Instant]

    Permalink

    Creates a instant argument with a custom argument name

    Creates a instant argument with a custom argument name

    name

    Argument name

    returns

    Instant argument

  25. val instant: Args[Instant]

    Permalink

    Creates a instant argument with 'instant' as argument name

  26. val integer: Args[BigInt]

    Permalink

    Creates an integer argument with 'integer' as argument name

  27. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  28. def localDate(name: String): Args[LocalDate]

    Permalink

    Creates a localDate argument with a custom argument name

    Creates a localDate argument with a custom argument name

    name

    Argument name

    returns

    LocalDate argument

  29. def localDateTime(name: String): Args[LocalDateTime]

    Permalink

    Creates a localDateTime argument with a custom argument name

    Creates a localDateTime argument with a custom argument name

    name

    Argument name

    returns

    LocalDateTime argument

  30. val localDateTime: Args[LocalDateTime]

    Permalink

    Creates a localDateTime argument with 'date-time' as argument name

  31. def localTime(name: String): Args[LocalTime]

    Permalink

    Creates a localTime argument with a custom argument name

    Creates a localTime argument with a custom argument name

    name

    Argument name

    returns

    LocalTime argument

  32. val localTime: Args[LocalTime]

    Permalink

    Creates a localTime argument with 'local-time' as argument name

  33. def monthDay(name: String): Args[MonthDay]

    Permalink

    Creates a monthDay argument with a custom argument name

    Creates a monthDay argument with a custom argument name

    name

    Argument name

    returns

    MonthDay argument

  34. val monthDay: Args[MonthDay]

    Permalink

    Creates a monthDay argument with 'month-day' as argument name

  35. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  36. val none: Args[Unit]

    Permalink

    Creates a empty argument

  37. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  38. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  39. def offsetDateTime(name: String): Args[OffsetDateTime]

    Permalink

    Creates a offsetDateTime argument with a custom argument name

    Creates a offsetDateTime argument with a custom argument name

    name

    Argument name

    returns

    OffsetDateTime argument

  40. val offsetDateTime: Args[OffsetDateTime]

    Permalink

    Creates a offsetDateTime argument with 'offset-date-time' as argument name

  41. def offsetTime(name: String): Args[OffsetTime]

    Permalink

    Creates a offsetTime argument with a custom argument name

    Creates a offsetTime argument with a custom argument name

    name

    Argument name

    returns

    OffsetTime argument

  42. val offsetTime: Args[OffsetTime]

    Permalink

    Creates a offsetTime argument with 'offset-time' as argument name

  43. def path(name: String): Args[Path]

    Permalink

    Creates a path argument with a custom argument name

    Creates a path argument with a custom argument name

    name

    Argument name

    returns

    Path argument

  44. val path: Args[Path]

    Permalink

    Creates a path argument with 'path' as argument name

  45. def period(name: String): Args[Period]

    Permalink

    Creates a period argument with a custom argument name

    Creates a period argument with a custom argument name

    name

    Argument name

    returns

    Period argument

  46. val period: Args[Period]

    Permalink

    Creates a period argument with 'period' as argument name

  47. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  48. def text(name: String): Args[String]

    Permalink

    Creates a text argument with a custom argument name

    Creates a text argument with a custom argument name

    name

    Argument name

    returns

    Text argument

  49. val text: Args[String]

    Permalink

    Creates a text argument with 'text' as argument name

  50. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  51. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  52. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  53. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  54. def year(name: String): Args[Year]

    Permalink

    Creates a year argument with a custom argument name

    Creates a year argument with a custom argument name

    name

    Argument name

    returns

    Year argument

  55. val year: Args[Year]

    Permalink

    Creates a year argument with 'year' as argument name

  56. def yearMonth(name: String): Args[YearMonth]

    Permalink

    Creates a yearMonth argument with a custom argument name

    Creates a yearMonth argument with a custom argument name

    name

    Argument name

    returns

    YearMonth argument

  57. val yearMonth: Args[YearMonth]

    Permalink

    Creates a yearMonth argument with 'year-month' as argument name

  58. def zoneId(name: String): Args[ZoneId]

    Permalink

    Creates a zoneId argument with a custom argument name

    Creates a zoneId argument with a custom argument name

    name

    Argument name

    returns

    ZoneId argument

  59. val zoneId: Args[ZoneId]

    Permalink

    Creates a zoneId argument with 'zone-id' as argument name

  60. def zoneOffset(name: String): Args[ZoneOffset]

    Permalink

    Creates a zoneOffset argument with a custom argument name

    Creates a zoneOffset argument with a custom argument name

    name

    Argument name

    returns

    ZoneOffset argument

  61. val zoneOffset: Args[ZoneOffset]

    Permalink

    Creates a zoneOffset argument with 'zone-offset' as argument name

  62. def zonedDateTime(name: String): Args[ZonedDateTime]

    Permalink

    Creates a zonedDateTime argument with a custom argument name

    Creates a zonedDateTime argument with a custom argument name

    name

    Argument name

    returns

    ZonedDateTime argument

  63. val zonedDateTime: Args[ZonedDateTime]

    Permalink

    Creates a zonedDateTime argument with 'zoned-date-time' as argument name

Inherited from AnyRef

Inherited from Any

Ungrouped