Object/Trait

zio.cli

Options

Related Docs: trait Options | package cli

Permalink

object Options

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

Type Members

  1. final case class Both[A, B](left: Options[A], right: Options[B]) extends Options[(A, B)] with Product with Serializable

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

    Permalink
  3. final case class OrElse[A, B](left: Options[A], right: Options[B]) extends Options[Either[A, B]] with Product with Serializable

    Permalink
  4. final case class Single[+A](name: String, aliases: Vector[String], primType: PrimType[A], description: HelpDoc = HelpDoc.Empty) extends Options[A] with Product with Serializable

    Permalink
  5. final case class WithDefault[A](options: Options[A], default: A, defaultDescription: Option[String]) extends Options[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 Options[Unit] with Product with Serializable

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def boolean(name: String, ifPresent: Boolean, negationName: String, negationNames: String*): Options[Boolean]

    Permalink

    Creates a boolean flag with the specified name, which, if present, will produce the specified constant boolean value.

    Creates a boolean flag with the specified name, which, if present, will produce the specified constant boolean value. Negation names may be specified to explicitly invert the boolean value of this option.

  7. def boolean(name: String, ifPresent: Boolean = true): Options[Boolean]

    Permalink

    Creates a boolean flag with the specified name, which, if present, will produce the specified constant boolean value.

  8. def clone(): AnyRef

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

    Permalink

    Creates a parameter expecting a decimal number.

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

    Permalink

    Creates a parameter expecting path to the directory.

  11. def enumeration[A](name: String)(cases: (String, A)*): Options[A]

    Permalink

    Creates a parameter accepting one valye from set of allowed elements.

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. def file(name: String, exists: Exists = Exists.Either): Options[Path]

    Permalink

    Creates a parameter expecting path to the file.

  15. def finalize(): Unit

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

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

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

    Permalink

    Creates a parameter expecting a parameter for instant in time in UTC format, such as 2007-12-03T10:15:30.00Z.

  19. def integer(name: String): Options[BigInt]

    Permalink

    Creates a parameter expecting an integer.

  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. def localDate(name: String): Options[LocalDate]

    Permalink

    Creates a parameter excepting parameter for a date in ISO_LOCAL_DATE format, such as 2007-12-03.

  22. def localDateTime(name: String): Options[LocalDateTime]

    Permalink

    Creates a parameter excepting a date-time without a time-zone in the ISO-8601 format, such as 2007-12-03T10:15:30.

  23. def localTime(name: String): Options[LocalTime]

    Permalink

    Creates a parameter excepting a time without a time-zone in the ISO-8601 format, such as 10:15:30.

  24. def map(argumentOption: Single[String]): Options[scala.Predef.Map[String, String]]

    Permalink

    Creates a property flag with from an argument option as Options.single.

  25. def map(name: String): Options[scala.Predef.Map[String, String]]

    Permalink

    Creates a property flag with the specified name.

    Creates a property flag with the specified name. Property arguments may be repeated several times (-D key1=value -D key2=value) or specifying all key/values in one argument (-D key1=value key2=value).

  26. def monthDay(name: String): Options[MonthDay]

    Permalink

    Creates a parameter excepting a month-day in the ISO-8601 format such as 12-03.

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

    Permalink
    Definition Classes
    AnyRef
  28. val none: Options[Unit]

    Permalink
  29. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  31. def offsetDateTime(name: String): Options[OffsetDateTime]

    Permalink

    Creates a parameter excepting a date-time with an offset from UTC/Greenwich in the ISO-8601 format, such as 2007-12-03T10:15:30+01:00.

  32. def offsetTime(name: String): Options[OffsetTime]

    Permalink

    Creates a parameter excepting a time with an offset from UTC/Greenwich in the ISO-8601 format, such as 10:15:30+01:00.

  33. def period(name: String): Options[Period]

    Permalink

    Createsa parameter excepting a date-based amount of time in the ISO-8601 format, such as 'P1Y2M3D'.

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

    Permalink
    Definition Classes
    AnyRef
  35. def text(name: String): Options[String]

    Permalink

    Creates a parameter expecting an arbitrary text.

  36. def toString(): String

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

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

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

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

    Permalink

    Creates a parameter expecting a year in the ISO-8601 format, such as 2007.

  41. def yearMonth(name: String): Options[YearMonth]

    Permalink

    Creates a parameter expecting a year-month in the ISO-8601 format, such as 2007-12..

  42. def zoneId(name: String): Options[ZoneId]

    Permalink

    Creates a parameter expecting a time-zone ID, such as Europe/Paris.

  43. def zoneOffset(name: String): Options[ZoneOffset]

    Permalink

    Creates a parameter expecting a time-zone offset from Greenwich/UTC, such as +02:00.

  44. def zonedDateTime(name: String): Options[ZonedDateTime]

    Permalink

    Creates a date-time with a time-zone in the ISO-8601 format, such as 2007-12-03T10:15:30+01:00 Europe/Paris.

Inherited from AnyRef

Inherited from Any

Ungrouped