CliApp

zio.cli.CliApp
See theCliApp companion object
sealed trait CliApp[-R, +E, +A]

A CliApp[R, E] is a complete description of a command-line application, which requires environment R, and may fail with a value of type E.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
CliApp[R, E, A]

Members list

Value members

Abstract methods

def config(newConfig: CliConfig): CliApp[R, E, A]
def flatMap[R1 <: R, E1 >: E, B](f: A => ZIO[R1, E1, B]): CliApp[R1, E1, B]
def run(args: List[String]): ZIO[R, CliError[E], Option[A]]
def summary(s: Span): CliApp[R, E, A]

Concrete methods

final def map[B](f: A => B): CliApp[R, E, B]