ZioDSL

case class ZioDSL[R](runtime: Runtime[R]) extends syntax
trait Serializable
trait Product
trait Equals
trait syntax
class Object
trait Matchable
class Any

Value members

Concrete methods

def liftURIO[T](description: String, examples: NonEmptyList[T])(f: URIO[R, T]): Spec[T]
def liftURIO[T](description: String, example: T)(f: URIO[R, T]): Spec[T]
def liftZIO[E, T](description: String, examples: NonEmptyList[T])(f: ZIO[R, E, T])(implicit ev: CanFail[E], customParserError: CustomParserError[E]): Spec[T]
def liftZIO[E, T](description: String, example: T)(f: ZIO[R, E, T])(implicit ev: CanFail[E], customParserError: CustomParserError[E]): Spec[T]

Inherited methods

def command(validValues: List[String], withDocumentedChoices: List[String]): Spec[String]
Inherited from:
syntax
def command(validValues: String*): Spec[String]
Inherited from:
syntax
def fail[E : CustomParserError, T](failure: E): Spec[T]
Inherited from:
syntax
def flag(description: String, shortName: Char, longNames: List[String], withDocumentedChoices: List[Boolean]): Free[Parameter, Boolean]
Inherited from:
syntax
def flag(description: String, longName: String, otherLongNames: String*): Free[Parameter, Boolean]
Inherited from:
syntax
def flag(description: String, shortName: Char, longNames: String*): Free[Parameter, Boolean]
Inherited from:
syntax
def lift[T](description: String, example: T)(f: => T): Spec[T]
Inherited from:
syntax
def lift[T](description: String, examples: NonEmptyList[T])(f: => T): Spec[T]
Inherited from:
syntax
def liftEither[E : CustomParserError, T](description: String, example: T)(f: => Either[E, T]): Spec[T]
Inherited from:
syntax
def liftEither[E : CustomParserError, T](description: String, examples: NonEmptyList[T])(f: => Either[E, T]): Spec[T]
Inherited from:
syntax
def liftTry[T](description: String, example: T)(f: => Try[T]): Spec[T]
Inherited from:
syntax
def liftTry[T](description: String, examples: NonEmptyList[T])(f: => Try[T]): Spec[T]
Inherited from:
syntax
def metadata(programName: String, description: String): Spec[Unit]
Inherited from:
syntax
def metadata(programName: String): Spec[Unit]
Inherited from:
syntax
def namedParameter[T : ParameterParser](description: String, placeholder: String, longName: String, otherLongNames: List[String], withDocumentedChoices: List[T]): Spec[T]
Inherited from:
syntax
def namedParameter[T : ParameterParser](description: String, placeholder: String, longName: String, otherLongNames: String*): Spec[T]
Inherited from:
syntax
def namedParameter[T : ParameterParser](description: String, placeholder: String, shortName: Char, longNames: List[String], withDocumentedChoices: List[T]): Spec[T]
Inherited from:
syntax
def namedParameter[T : ParameterParser](description: String, placeholder: String, shortName: Char, longNames: String*): Spec[T]
Inherited from:
syntax
def optional[T](parameter: Spec[T]): Spec[Option[T]]
Inherited from:
syntax
def parameter[T : ParameterParser](description: String, placeholder: String, withDocumentedChoices: List[T]): Spec[T]
Inherited from:
syntax
def parameter[T : ParameterParser](description: String, placeholder: String): Spec[T]
Inherited from:
syntax
def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product
def pure[T](value: T): Spec[T]
Inherited from:
syntax
def repeated[T](parameter: Spec[T]): Spec[List[T]]
Inherited from:
syntax