Package-level declarations
Overview
Hosts the CLI loop, command parsing and rendering utilities. The CLI is designed to be minimal and driven by plain standard input/output which makes it easy to script and test.
Key Components
CLI— Main CLI coordinator class managing the REPL loopCliConfig— Configuration for CLI appearance (colors, prompts, messages)Environment— Constants for CLI-specific paths and settingsMain— Entry point for the CLI application
Responsibilities
Providing an interactive command-line interface for the Reversi game
Managing the REPL (Read-Eval-Print Loop)
Parsing and dispatching commands
Maintaining game context across command executions
Rendering game state to the console
Loading CLI configuration from properties file
Properties
Global CLI configuration loaded from the CLI configuration file. Contains all theme colors, prompts, and text settings for the command-line interface.
ANSI color code for error messages.
ANSI color code for help command aliases.
ANSI color code for help command descriptions.
ANSI color code for help command usage text.
ANSI color code for informational messages.
ANSI color code for the command prompt.
ANSI color code for regular text output.
ANSI color code for warning messages.
Welcome message displayed when the CLI starts.