Packages

c

caseapp.cats

IOCaseApp

abstract class IOCaseApp[T] extends IOApp

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. IOCaseApp
  2. IOApp
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new IOCaseApp()(implicit parser0: core.parser.Parser[T], messages: Help[T])

Abstract Value Members

  1. abstract def run(options: T, remainingArgs: core.RemainingArgs): IO[ExitCode]

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. implicit def contextShift: ContextShift[IO]
    Attributes
    protected
    Definition Classes
    IOApp
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. def error(message: Error): IO[ExitCode]
  10. def expandArgs(args: List[String]): List[String]

    Arguments are expanded then parsed.

    Arguments are expanded then parsed. By default, argument expansion is the identity function. Overriding this method allows plugging in an arbitrary argument expansion logic.

    One such expansion logic involves replacing each argument of the form '@<file>' with the contents of that file where each line in the file becomes a distinct argument. To enable this behavior, override this method as shown below.

    Example:
    1. import caseapp.core.parser.PlatformArgsExpander
      override def expandArgs(args: List[String]): List[String]
      = PlatformArgsExpander.expand(args)
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. def helpAsked: IO[ExitCode]
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. def main(args: Array[String]): Unit
    Definition Classes
    IOApp
  16. implicit val messages: Help[T]
  17. def nameFormatter: Formatter[Name]
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. def parser: core.parser.Parser[T]
  22. implicit val parser0: core.parser.Parser[T]
  23. def println(x: String): IO[Unit]
  24. def run(args: List[String]): IO[ExitCode]
    Definition Classes
    IOCaseApp → IOApp
  25. def stopAtFirstUnrecognized: Boolean

    Whether to stop parsing at the first unrecognized argument.

    Whether to stop parsing at the first unrecognized argument.

    That is, stop parsing at the first non option (not starting with "-"), or the first unrecognized option. The unparsed arguments are put in the args argument of run.

  26. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  27. implicit def timer: Timer[IO]
    Attributes
    protected
    Definition Classes
    IOApp
  28. def toString(): String
    Definition Classes
    AnyRef → Any
  29. def usageAsked: IO[ExitCode]
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from IOApp

Inherited from AnyRef

Inherited from Any

Ungrouped