Files
gamenight/gamenight-cli/src/main.rs

17 lines
317 B
Rust

pub mod flows;
pub mod domain;
use flows::{main::Main, Flow, GamenightState};
#[tokio::main]
async fn main() {
let mut state = GamenightState::new();
let main_flow = Main::new();
clear_screen::clear();
if let Err(x) = main_flow.run(&mut state).await {
println!("{}", x.error);
}
}