diff options
Diffstat (limited to 'planetwars-cli/src/lib.rs')
-rw-r--r-- | planetwars-cli/src/lib.rs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/planetwars-cli/src/lib.rs b/planetwars-cli/src/lib.rs new file mode 100644 index 0000000..e5566b0 --- /dev/null +++ b/planetwars-cli/src/lib.rs @@ -0,0 +1,12 @@ +mod commands; +mod match_runner; +mod web; +mod workspace; + +pub async fn run() { + let res = commands::Cli::run().await; + if let Err(err) = res { + eprintln!("{}", err); + std::process::exit(1); + } +} |