#cargo #cargo-subcommand

app cargo-clean-recursive

A cargo subcommand cleans all projects under specified directory

5 releases

0.9.5 Apr 25, 2022
0.9.4 Apr 25, 2022
0.9.2 Nov 5, 2021
0.9.1 Jun 7, 2020

#159 in Cargo plugins

Download history 28/week @ 2022-10-18 10/week @ 2022-10-25 58/week @ 2022-11-01 27/week @ 2022-11-08 11/week @ 2022-11-15 24/week @ 2022-11-22 25/week @ 2022-11-29 16/week @ 2022-12-06 20/week @ 2022-12-13 27/week @ 2022-12-20 17/week @ 2022-12-27 13/week @ 2023-01-03 8/week @ 2023-01-10 27/week @ 2023-01-17 20/week @ 2023-01-24 23/week @ 2023-01-31

79 downloads per month

MIT/Apache

10KB
132 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

~2–2.6MB
~47K SLoC