Add comprehensive CLI options for game settings

- Expanded `Cli` with arguments for username, game mode, map size, perk
  deck, resources, supply limit, XP modifier, and skill points limit.
- Enabled the `cli` module in `lib.rs` and activated argument parsing in
  `main.rs`.
- Added placeholder (commented) fields to `App` for future configuration
  integration.
This commit is contained in:
2026-03-09 16:54:10 +01:00
parent e98f1ddc24
commit a9b84bbe0f
5 changed files with 49 additions and 11 deletions
+2 -2
View File
@@ -6,11 +6,11 @@ use std::{
};
use war_in_tunnels::{
app::{App, Event, handle_input_events},
// cli::{Cli, get_args},
cli::{Cli, get_args},
};
fn main() -> Result<()> {
// let args: Cli = get_args();
let args: Cli = get_args();
let mut terminal: Terminal<CrosstermBackend<Stdout>> = ratatui::init();
let mut app: App = App { exit: false };