Home

Awesome

Cargo Cleanall

A simple tool to clean all cargo projects in a directory.

Help

Cargo plugin to clean all cargo projects in a directory

Usage: cargo cleanall [OPTIONS] <PATHS>...

Arguments:
  <PATHS>...  Path to search for projects to clean

Options:
  -H, --hidden           Get size of and clean hidden folders
  -d, --dry              Don't clean any files
  -i, --ignore <ignore>  Ignore folders
  -s, --no-size          Don't calculate the size
  -h, --help             Print help information
  -V, --version          Print version information

Output

$ cargo cleanall .
INFO [cargo_cleanall] 1.2 GB => 117.8 MB (-1.1 GB: -90.303 %)

Features

Roadmap

Logging

This crate uses flexi_logger. To enable verbose output run with enviroment variable RUST_LOG="debug"