blob: 6bcf5b53922ff862579a818f5bff9467bfd325d1 (
plain) (
tree)
|
|
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);
}
}
|