Update main to gamelog v0.7.1 and early tui model from dev. #15

Merged
Cutieguwu merged 23 commits from dev into main 2025-04-23 19:02:36 -04:00
Showing only changes of commit b146fd2658 - Show all commits

View File

@@ -21,9 +21,7 @@ struct Args {
// Behaviour is backwards. // Behaviour is backwards.
// ArgAction::SetFalse by default evaluates to true, // ArgAction::SetFalse by default evaluates to true,
// ArgAction::SetTrue by default evaluates to false. // ArgAction::SetTrue by default evaluates to false.
#[arg(short, long, action=ArgAction::SetFalse)] /// Provide flag to disable tui and dump info via Debug pretty printing.
display_results: bool,
#[arg(short, long, action=ArgAction::SetTrue)] #[arg(short, long, action=ArgAction::SetTrue)]
no_tui: bool, no_tui: bool,
} }
@@ -93,10 +91,8 @@ fn main() -> io::Result<()> {
} }
} }
if config.display_results { // :#? for pretty-printing.
// :#? for pretty-printing. stats.iter().for_each(|team| println!("{:#?}", team));
stats.iter().for_each(|team| println!("{:#?}", team));
}
return Ok(()); return Ok(());
} }