Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into cargo_workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
Danielprobst22 committed Dec 22, 2023
2 parents fb58acb + 846de4b commit 5683389
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,13 @@ pub struct Cli {


fn main() {
let commands = Cli::parse().commands;
let verbose = Cli::parse().verbose;
let Cli { commands, verbose } = Cli::parse();

env_logger::builder().filter_level(verbose.log_level_filter()).init();

match commands {
Commands::Import(mut import) => {
import.import()
}
Commands::Clean(mut clean) => { clean.clean() }
Commands::Import(mut import) => import.import(),
Commands::Clean(mut clean) => clean.clean(),
}
}

0 comments on commit 5683389

Please sign in to comment.