Packages

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. Protected

Type Members

  1. final case class Both[+A, +B](head: Args[A], tail: Args[B]) extends Args[(A, B)] with Product with Serializable
  2. final case class Map[A, B](value: Args[A], f: (A) => Either[HelpDoc, B]) extends Args[B] with Product with Serializable
  3. final case class Single[+A](pseudoName: Option[String], primType: PrimType[A], description: HelpDoc = HelpDoc.Empty) extends Args[A] with Product with Serializable
  4. final case class Variadic[+A](value: Args[A], min: Option[Int], max: Option[Int]) extends Args[List[A]] with Product with Serializable

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def bool(name: String): Args[Boolean]

    Creates a boolean argument with a custom argument name

    Creates a boolean argument with a custom argument name

    name

    Argument name

    returns

    Boolean argument

  6. val bool: Args[Boolean]

    Creates a boolean argument with boolean as argument name

  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. def decimal(name: String): Args[BigDecimal]

    Creates a decimal argument with a custom argument name

    Creates a decimal argument with a custom argument name

    name

    Argument name

    returns

    Decimal argument

  9. val decimal: Args[BigDecimal]

    Creates a decimal argument with 'decimal' as argument name

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

    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

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

    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

  12. val directory: Args[Path]

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

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

    Creates a enumeration argument with 'choice' as argument name

    Creates a enumeration argument with 'choice' as argument name

    cases

    Enum cases

    returns

    Enumeration argument

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

    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

  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  17. def file(exists: Exists): Args[Path]

    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

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

    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

  19. val file: Args[Path]

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

  20. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  21. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  23. def instant(name: String): Args[Instant]

    Creates a instant argument with a custom argument name

    Creates a instant argument with a custom argument name

    name

    Argument name

    returns

    Instant argument

  24. val instant: Args[Instant]

    Creates a instant argument with 'instant' as argument name

  25. val integer: Args[BigInt]

    Creates an integer argument with 'integer' as argument name

  26. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  27. def localDate(name: String): Args[LocalDate]

    Creates a localDate argument with a custom argument name

    Creates a localDate argument with a custom argument name

    name

    Argument name

    returns

    LocalDate argument

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

    Creates a localDateTime argument with a custom argument name

    Creates a localDateTime argument with a custom argument name

    name

    Argument name

    returns

    LocalDateTime argument

  29. val localDateTime: Args[LocalDateTime]

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

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

    Creates a localTime argument with a custom argument name

    Creates a localTime argument with a custom argument name

    name

    Argument name

    returns

    LocalTime argument

  31. val localTime: Args[LocalTime]

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

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

    Creates a monthDay argument with a custom argument name

    Creates a monthDay argument with a custom argument name

    name

    Argument name

    returns

    MonthDay argument

  33. val monthDay: Args[MonthDay]

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

  34. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  35. val none: Args[Unit]

    Creates a empty argument

  36. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  37. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  38. def offsetDateTime(name: String): Args[OffsetDateTime]

    Creates a offsetDateTime argument with a custom argument name

    Creates a offsetDateTime argument with a custom argument name

    name

    Argument name

    returns

    OffsetDateTime argument

  39. val offsetDateTime: Args[OffsetDateTime]

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

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

    Creates a offsetTime argument with a custom argument name

    Creates a offsetTime argument with a custom argument name

    name

    Argument name

    returns

    OffsetTime argument

  41. val offsetTime: Args[OffsetTime]

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

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

    Creates a path argument with a custom argument name

    Creates a path argument with a custom argument name

    name

    Argument name

    returns

    Path argument

  43. val path: Args[Path]

    Creates a path argument with 'path' as argument name

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

    Creates a period argument with a custom argument name

    Creates a period argument with a custom argument name

    name

    Argument name

    returns

    Period argument

  45. val period: Args[Period]

    Creates a period argument with 'period' as argument name

  46. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  47. def text(name: String): Args[String]

    Creates a text argument with a custom argument name

    Creates a text argument with a custom argument name

    name

    Argument name

    returns

    Text argument

  48. val text: Args[String]

    Creates a text argument with 'text' as argument name

  49. def toString(): String
    Definition Classes
    AnyRef → Any
  50. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  51. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  52. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  53. def year(name: String): Args[Year]

    Creates a year argument with a custom argument name

    Creates a year argument with a custom argument name

    name

    Argument name

    returns

    Year argument

  54. val year: Args[Year]

    Creates a year argument with 'year' as argument name

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

    Creates a yearMonth argument with a custom argument name

    Creates a yearMonth argument with a custom argument name

    name

    Argument name

    returns

    YearMonth argument

  56. val yearMonth: Args[YearMonth]

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

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

    Creates a zoneId argument with a custom argument name

    Creates a zoneId argument with a custom argument name

    name

    Argument name

    returns

    ZoneId argument

  58. val zoneId: Args[ZoneId]

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

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

    Creates a zoneOffset argument with a custom argument name

    Creates a zoneOffset argument with a custom argument name

    name

    Argument name

    returns

    ZoneOffset argument

  60. val zoneOffset: Args[ZoneOffset]

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

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

    Creates a zonedDateTime argument with a custom argument name

    Creates a zonedDateTime argument with a custom argument name

    name

    Argument name

    returns

    ZonedDateTime argument

  62. val zonedDateTime: Args[ZonedDateTime]

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

  63. case object Empty extends Args[Unit] with Product with Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped