forked from Roflin/gamenight
Started working on a cli frontend.
This commit is contained in:
14
gamenight-cli/src/main.rs
Normal file
14
gamenight-cli/src/main.rs
Normal file
@@ -0,0 +1,14 @@
|
||||
pub mod flows;
|
||||
|
||||
use flows::{main::Main, Flow, GamenightState};
|
||||
|
||||
#[tokio::main]
|
||||
async fn main() {
|
||||
let mut state = GamenightState::new();
|
||||
let mainflow = Main::new();
|
||||
if let Err(x) = mainflow.run(&mut state).await {
|
||||
println!("{}", x.error);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user