use std::path::PathBuf; use clap::Parser; use clean::handle_path; use cli::Args; mod cargo; mod clean; mod cli; fn main() { let cli = Args::parse(); let paths = std::fs::read_dir(cli.clone().dir.unwrap_or(PathBuf::from("./"))).unwrap(); for path in paths { let p = path.unwrap(); handle_path(&p.path(), 0, &cli); } }