The main function of the application, which can access the command-line arguments through
the args helper method of this class.
The main function of the application, which can access the command-line arguments through
the args helper method of this class. If the provided effect fails for any reason, the
cause will be logged, and the exit code of the application will be non-zero. Otherwise,
the exit code of the application will be zero.
Composes this ZIOApp with another ZIOApp, to yield an application that executes the logic of both applications.
A helper function to obtain access to the command-line arguments of the application.
A helper function to obtain access to the command-line arguments of the
application. You may use this helper function inside your run function.
A helper function to exit the application with the specified exit code.
A helper function to exit the application with the specified exit code.
A hook into the ZIO runtime configuration used for boostrapping the application.
A hook into the ZIO runtime configuration used for boostrapping the application. This hook can be used to install low-level functionality into the ZIO application, such as logging, profiling, and other similar foundational pieces of infrastructure.
Invokes the main app.
Invokes the main app. Designed primarily for testing.
A layer that manages the acquisition and release of services necessary for the application to run.
A layer that manages the acquisition and release of services necessary for the application to run.
The Scala main function, intended to be called only by the Scala runtime.
The Scala main function, intended to be called only by the Scala runtime.
The entry point for a ZIO application.