refactored the project using the clap crate

This commit is contained in:
2023-03-08 21:35:15 +01:00
parent e469576d2c
commit 4b789e60c9
10 changed files with 92 additions and 233 deletions

View File

@@ -3,12 +3,9 @@ mod app;
#[cfg(test)]
mod test;
use std::env;
use app::App;
fn main() {
let app = App::new();
let args = env::args().collect();
app.start(args);
app.start();
}