refactored the project using the clap crate
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user