https://github.com/bestgopher/cargo-rclean
Execute cargo clean for all cargo projects in the directory.
https://github.com/bestgopher/cargo-rclean
cargo cargo-subcommand rust
Last synced: 2 months ago
JSON representation
Execute cargo clean for all cargo projects in the directory.
- Host: GitHub
- URL: https://github.com/bestgopher/cargo-rclean
- Owner: bestgopher
- License: mit
- Created: 2022-01-11T02:10:45.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2024-08-27T03:50:19.000Z (over 1 year ago)
- Last Synced: 2024-12-20T06:17:47.514Z (about 1 year ago)
- Topics: cargo, cargo-subcommand, rust
- Language: Rust
- Homepage:
- Size: 47.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cargo-rclean
Execute `cargo clean` for all cargo projects in the directory.
# install
```shell
➜ cargo install --git https://github.com/bestgopher/cargo-rclean
```
# usage
```shell
➜ cargo rclean
```
# Examples
There are three cargo projects in current working directory:
```shell
➜ tree -L 2
.
├── rclean_test_1
│ ├── Cargo.lock
│ ├── Cargo.toml
│ ├── src
│ └── target
├── rclean_test_2
│ ├── Cargo.lock
│ ├── Cargo.toml
│ ├── src
│ └── target
└── rclean_test_3
├── Cargo.lock
├── Cargo.toml
├── src
└── target
```
Then I execute: `cargo rclean` :
```shell
➜ tree -L 2
.
├── rclean_test_1
│ ├── Cargo.lock
│ ├── Cargo.toml
│ └── src
├── rclean_test_2
│ ├── Cargo.lock
│ ├── Cargo.toml
│ └── src
└── rclean_test_3
├── Cargo.lock
├── Cargo.toml
└── src
```
All targets have been removed.