PrimType

zio.cli.PrimType
See thePrimType companion object
sealed trait PrimType[+A]

A PrimType represents the primitive types supported by ZIO CLI.

Each primitive type has a way to parse and validate from a string.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Bool
object Decimal
object Duration
class Enumeration[A]
object Instant
object Integer
object LocalDate
object LocalDateTime
object LocalTime
object MonthDay
object OffsetTime
class Path
object Period
object Text
object Year
object YearMonth
object ZoneId
object ZoneOffset
object ZonedDateTime
Show all
Self type

Members list

Value members

Abstract methods

def helpDoc: Span
def validate(value: Option[String], conf: CliConfig): IO[String, A]

Concrete methods

final def validate(value: String): IO[String, A]
final def validate(value: String, conf: CliConfig): IO[String, A]