object Args
- Alphabetic
- By Inheritance
- Args
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- final case class Both[+A, +B](head: Args[A], tail: Args[B]) extends Args[(A, B)] with Product with Serializable
- final case class Map[A, B](value: Args[A], f: (A) ⇒ Either[HelpDoc, B]) extends Args[B] with Product with Serializable
- final case class Single[+A](pseudoName: Option[String], primType: PrimType[A], description: HelpDoc = HelpDoc.Empty) extends Args[A] with Product with Serializable
- final case class Variadic[+A](value: Args[A], min: Option[Int], max: Option[Int]) extends Args[List[A]] with Product with Serializable
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
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
-
val
bool: Args[Boolean]
Creates a boolean argument with boolean as argument name
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
-
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
-
val
decimal: Args[BigDecimal]
Creates a decimal argument with 'decimal' as argument name
-
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
-
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
-
val
directory: Args[Path]
Creates a directory argument with 'directory' as argument name, and exists being 'Either'
-
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
-
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
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
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
-
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
-
val
file: Args[Path]
Creates a file argument with 'file' as argument name, and exists being 'Either'
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
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
-
val
instant: Args[Instant]
Creates a instant argument with 'instant' as argument name
-
val
integer: Args[BigInt]
Creates an integer argument with 'integer' as argument name
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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
-
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
-
val
localDateTime: Args[LocalDateTime]
Creates a localDateTime argument with 'date-time' as argument name
-
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
-
val
localTime: Args[LocalTime]
Creates a localTime argument with 'local-time' as argument name
-
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
-
val
monthDay: Args[MonthDay]
Creates a monthDay argument with 'month-day' as argument name
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
val
none: Args[Unit]
Creates a empty argument
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
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
-
val
offsetDateTime: Args[OffsetDateTime]
Creates a offsetDateTime argument with 'offset-date-time' as argument name
-
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
-
val
offsetTime: Args[OffsetTime]
Creates a offsetTime argument with 'offset-time' as argument name
-
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
-
val
path: Args[Path]
Creates a path argument with 'path' as argument name
-
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
-
val
period: Args[Period]
Creates a period argument with 'period' as argument name
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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
-
val
text: Args[String]
Creates a text argument with 'text' as argument name
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
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
-
val
year: Args[Year]
Creates a year argument with 'year' as argument name
-
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
-
val
yearMonth: Args[YearMonth]
Creates a yearMonth argument with 'year-month' as argument name
-
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
-
val
zoneId: Args[ZoneId]
Creates a zoneId argument with 'zone-id' as argument name
-
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
-
val
zoneOffset: Args[ZoneOffset]
Creates a zoneOffset argument with 'zone-offset' as argument name
-
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
-
val
zonedDateTime: Args[ZonedDateTime]
Creates a zonedDateTime argument with 'zoned-date-time' as argument name
- object Empty extends Args[Unit] with Product with Serializable