cargo-sweep icon indicating copy to clipboard operation
cargo-sweep copied to clipboard

A cargo subcommand for cleaning up unused build files generated by Cargo

Results 41 cargo-sweep issues
Sort by recently updated
recently updated
newest added

This PR switches the error type of this CLI from `failure` to `anyhow` since `failure` is [deprecated](https://github.com/rust-lang-deprecated/failure) now.

It was mentioned in #51 that > Also it appears that the --version flag doesn't work: > ```text > $ cargo sweep -V > cargo-sweep.exe-sweep > $ cargo sweep --version...

S-waiting-on-review

``` $ cargo sweep --help ... -t, --time Number of days backwards to keep. If no value is set uses 30. ... $ cargo sweep -t error: The argument '--time...

`cargo sweep -r path` leaves the `target//incremental` directory as-is, which can amass a lot of redundant builds. I would expect sweep to clean this directory too.

Hi, support for non-rustup installs has arrived into master, but the released version does not yet contain it. It would be cool to release a new version containing the support....

``` $ cargo run -- sweep -d -r -i Compiling cargo-sweep v0.5.0 (/home/gbr/devel/ext/cargo-sweep) Finished dev [unoptimized + debuginfo] target(s) in 1.55s Running `target/debug/cargo-sweep sweep -d -r -i` thread 'main' panicked...

bug
good first issue

`cargo-sweep …` and `cargo sweep …` should be equivalent, with the *possible* (but not mandatory) exception of usage information differing by that one character. Instead, `cargo sweep …` is equivalent...

- -d should have --dry-run - -r should have --recursive - -v should have --verbose All three of these long forms are well-established conventions. Amusingly, their short forms are actually...

help wanted

Running `cargo sweep -i -r -d`, I get "Would clean XXX MB" for each individual project. It would be nice to cumulate those savings and display a total at the...

enhancement
good first issue