Crates.io | cargo-clean-recursive |
lib.rs | cargo-clean-recursive |
version | 0.9.7 |
source | src |
created_at | 2020-06-06 13:00:34.155606 |
updated_at | 2024-10-14 02:20:07.454309 |
description | A cargo subcommand cleans all projects under specified directory. |
homepage | |
repository | https://github.com/IgaguriMK/cargo-clean-recursive |
max_upload_size | |
id | 250666 |
size | 28,796 |
A cargo subcommand cleans all projects under a specified directory.
Build binary with Cargo:
cargo install cargo-clean-recursive
To clean all projects under current directory, run this subcommand with no option:
cargo clean-recursive
If you want to clean release build only, use --release / -r
flag:
cargo clean-recursive --release
Also, you can use --doc / -d
option to clean docs:
cargo clean-recursive --doc
You can specify --release
and --doc
at the same time.
cargo clean-recursive --doc --release
You can specify starting directory to recursive search.
cargo clean-recursive ~/my_codes/