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 IOApp
class Object
trait Matchable
class 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
trait GameView[F, String]
class Object
trait Matchable
class Any