#cargo-clean #cargo-subcommand #cargo #recursion #directory #projects #build

app cargo-clean-recursive

A cargo subcommand cleans all projects under specified directory

7 releases

0.9.7 Oct 14, 2024
0.9.6 Aug 25, 2023
0.9.5 Apr 25, 2022
0.9.2 Nov 5, 2021
0.9.1 Jun 7, 2020

#152 in Cargo plugins

Download history 11/week @ 2024-07-27 28/week @ 2024-08-03 4/week @ 2024-08-10 8/week @ 2024-08-31 12/week @ 2024-09-07 6/week @ 2024-09-14 18/week @ 2024-09-21 22/week @ 2024-09-28 13/week @ 2024-10-05 283/week @ 2024-10-12 56/week @ 2024-10-19 21/week @ 2024-10-26 36/week @ 2024-11-02 25/week @ 2024-11-09

159 downloads per month

MIT/Apache

11KB
158 lines

cargo-clean-recursive

A cargo subcommand cleans all projects under a specified directory.

Installation

Build binary with Cargo:

cargo install cargo-clean-recursive

Usage

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/

Dependencies

~3.5MB
~66K SLoC