Object

zio.cli.examples

WcApp

Related Doc: package examples

Permalink

object WcApp extends ZIOCliDefault

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WcApp
  2. ZIOCliDefault
  3. ZIOAppDefault
  4. ZIOCli
  5. ZIOApp
  6. ZIOAppVersionSpecific
  7. ZIOAppPlatformSpecific
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type Environment = Any

    Permalink
    Definition Classes
    ZIOAppDefault → ZIOApp
  2. case class WcOptions(bytes: Boolean, lines: Boolean, words: Boolean, char: Boolean) extends Product with Serializable

    Permalink
  3. case class WcResult(fileName: String, countBytes: Option[Long], countLines: Option[Long], countWords: Option[Long], countChar: Option[Long]) extends 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 <>(that: ZIOApp)(implicit trace: Trace): ZIOApp

    Permalink
    Definition Classes
    ZIOApp
  4. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  5. val args: Args[::[Path]]

    Permalink
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. val bootstrap: ZLayer[ZIOAppArgs with Scope, Any, Any]

    Permalink
    Definition Classes
    ZIOAppDefault → ZIOApp
  8. val bytesFlag: Options[Boolean]

    Permalink
  9. val charFlag: Options[Boolean]

    Permalink
  10. val cliApp: CliApp[Any, Nothing, (WcOptions, ::[Path])]

    Permalink
    Definition Classes
    WcApp → ZIOCli
  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. val environmentTag: zio.EnvironmentTag[Any]

    Permalink
    Definition Classes
    ZIOAppDefault → ZIOApp
  13. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  15. val execute: (WcOptions, ::[Path]) ⇒ UIO[Unit]

    Permalink
  16. final def exit(code: ExitCode)(implicit trace: Trace): UIO[Unit]

    Permalink
    Definition Classes
    ZIOApp
  17. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. final def getArgs(implicit trace: Trace): ZIO[ZIOAppArgs, Nothing, Chunk[String]]

    Permalink
    Definition Classes
    ZIOApp
  19. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  21. def installSignalHandlers(runtime: Runtime[Any])(implicit trace: Trace): UIO[Any]

    Permalink
    Attributes
    protected
    Definition Classes
    ZIOApp
  22. final def invoke(args: Chunk[String])(implicit trace: Trace): ZIO[Any, Any, Any]

    Permalink
    Definition Classes
    ZIOApp
  23. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  24. val linesFlag: Options[Boolean]

    Permalink
  25. final def main(args0: Array[String]): Unit

    Permalink
    Definition Classes
    ZIOAppPlatformSpecific
  26. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  27. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  29. val options: Options[WcOptions]

    Permalink
  30. def run: ZIO[ZIOAppArgs with Scope, Nothing, ExitCode]

    Permalink
    Definition Classes
    ZIOCli → ZIOApp
  31. def runtime: Runtime[Any]

    Permalink
    Definition Classes
    ZIOApp
  32. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  33. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  34. implicit macro def validateEnv[R1, R, E, A](zio: ZIO[R, E, A]): ZIO[R1, E, A]

    Permalink
    Definition Classes
    ZIOAppVersionSpecific
  35. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. val wc: Command[(WcOptions, ::[Path])]

    Permalink
  39. val wordsFlag: Options[Boolean]

    Permalink

Inherited from ZIOCliDefault

Inherited from ZIOAppDefault

Inherited from ZIOCli

Inherited from ZIOApp

Inherited from ZIOAppVersionSpecific

Inherited from ZIOAppPlatformSpecific

Inherited from AnyRef

Inherited from Any

Ungrouped