Packages

trait Simple extends IOApp

A simplified version of IOApp for applications which ignore their process arguments and always produces ExitCode.Success (unless terminated exceptionally or interrupted).

Source
IOApp.scala
See also

IOApp

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

Abstract Value Members

  1. abstract def run: IO[Unit]

Concrete Value Members

  1. final def main(args: Array[String]): Unit
    Definition Classes
    IOApp
  2. final def run(args: List[String]): IO[ExitCode]

    The entry point for your application.

    The entry point for your application. Will be called by the runtime when the process is started. If the underlying runtime supports it, any arguments passed to the process will be made available in the args parameter. The numeric value within the resulting ExitCode will be used as the exit code when the process terminates unless terminated exceptionally or by interrupt.

    args

    The arguments passed to the process, if supported by the underlying runtime. For example, java com.company.MyApp --foo --bar baz or node com-mycompany-fastopt.js --foo --bar baz would each result in List("--foo", "--bar", "baz").

    Definition Classes
    SimpleIOApp
    See also

    IOApp.Simple!.run:cats\.effect\.IO[Unit]*