scalata.infrastructure.view.terminal.cli
Members list
Type members
Classlikes
object CliApp extends IOApp
Command-line entry-point of Scalata’s terminal UI using Standard I/O.
Command-line entry-point of Scalata’s terminal UI using Standard I/O.
Attributes
- Returns
-
an cats.effect.ExitCode: •
ExitCode.Success(0) on graceful termination; •ExitCode.Error(1) on unrecoverable failure. - Supertypes
-
trait IOAppclass Objecttrait Matchableclass Any
- Self type
-
CliApp.type
final class ConsoleView[F[_]] extends GameView[F, String]
Console implementation of GameView.
Console implementation of GameView.
Uses ANSI escape sequences to clear the screen and reads input via StdIn.readLine(), which is blocking.
Attributes
- See also
-
GameView for method-level semantics
- Supertypes
In this article