Main

Main$
object Main extends CommandIOApp

Attributes

Graph
Supertypes
class CommandIOApp
trait IOApp
class Object
trait Matchable
class Any
Self type
Main.type

Members list

Concise view

Value members

Concrete methods

def main: Opts[IO[ExitCode]]
def withLogger[A](body: Logger[IO] ?=> IO[A]): IO[A]

Inherited methods

final def main(args: Array[String]): Unit

Attributes

Inherited from:
IOApp
final override def run(args: List[String]): IO[ExitCode]

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.

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.

Attributes

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").

See also:

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

Definition Classes
CommandIOApp -> IOApp
Inherited from:
CommandIOApp