1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
use clap::Parser; use bwq::args::Cli; fn main() { let args = Cli::parse(); match bwq::run(args) { Ok(exit_status) => std::process::exit(exit_status.into()), Err(e) => { eprintln!("Error: {e}"); std::process::exit(1); } } }