Executable

harness.zio.Executable$
See theExecutable companion trait
object Executable extends Builder1

Attributes

Companion
trait
Graph
Supertypes
class Builder1
class Builder2[Unit]
class Builder3[Unit, Any, Nothing]
class Object
trait Matchable
class Any
Show all
Self type
Executable.type

Members list

Type members

Classlikes

object Result

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Result.type
sealed trait Result[+T]

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Fail
class Help
class Success[T]

Value members

Concrete methods

def finalizedResultToExecutableResult[T](result: Result[T]): Result[T]
def fromExecute[E](f: IndexedArgs => ZIO[HarnessEnv & Scope, ExecutableError[E], Any])(using evidence$1: ErrorLogger[E]): Executable
def fromSubCommands(opts: (String, Executable)*): Executable

Inherited methods

final def withEffect[E2](effect: => ZIO[HarnessEnv & Any & Scope, E2, Any])(using evidence$6: ErrorLogger[E2]): Executable

Attributes

Inherited from:
Builder3
final def withEffect[E2](effect: Unit => ZIO[HarnessEnv & Any & Scope, E2, Any])(using evidence$5: ErrorLogger[E2]): Executable

Attributes

Inherited from:
Builder3
final def withLayer[R, E](layer: => ZLayer[HarnessEnv & Scope, E, R])(using evidence$4: Tag[R]): Builder3[P, R, E]

Attributes

Inherited from:
Builder2
final def withLayer[R, E](layer: Unit => ZLayer[HarnessEnv & Scope, E, R])(using evidence$3: Tag[R]): Builder3[P, R, E]

Attributes

Inherited from:
Builder2
final def withParser[P](parser: Parser[P]): Builder2[P]

Attributes

Inherited from:
Builder1
final def withThrowableEffect[E2 <: Throwable](effect: => ZIO[HarnessEnv & Any & Scope, E2, Any]): Executable

Attributes

Inherited from:
Builder3
final def withThrowableEffect[E2 <: Throwable](effect: Unit => ZIO[HarnessEnv & Any & Scope, E2, Any]): Executable

Attributes

Inherited from:
Builder3