cargo-wipe 0.3.0

recursively wipe target and node_modules folders
cargo-wipe-0.3.0 is not a library.

Cargo Wipe

Crates CI codecov license Crates.io
Cargo subcommand that recursively finds and optionally wipes all "target" or "node_modules" folders that are found in the current path.

Usage

Install

The Rust toolchain is a prerequisite.

cargo install cargo-wipe

target

cargo wipe target

Add the -w flag to wipe all Rust target folders found. USE WITH CAUTION!

node_modules

cargo wipe node_modules

Add the -w flag to wipe all node_modules folders found. USE WITH CAUTION!

Usage Example

Usage Example Screenshot

Contributions

Contributions are welcome and encouraged! See TODO.md for ideas, or suggest your own!

PR Checks

    cargo make ci-flow

Releases

  • Update version in Cargo.toml
  • Commit
  • Add tag
    git tag -a vX.X.X
    
  • Push
    git push --follow-tags
    
  • Release
    Create a new release.
    publish.yml GitHub Action will pick it up and do the actual release to https://crates.io/.