rs_clean 0.2.0

Rust project that provides a command-line tool designed for cleaning up build artifacts within projects.
Documentation
# 🧹 rs_clean – Clean Build Targets for Rust, Go, Gradle, and Maven


> ⚑ Easily remove compiled build artifacts from Rust, Go, Gradle, and Maven projects with a single command.

πŸ“˜ Looking for Chinese docs? [View δΈ­ζ–‡θ―΄ζ˜Ž πŸ‡¨πŸ‡³](./README_zh.md)


## πŸš€ Quick Start


```bash
$ rs_clean folder/
````

This command recursively removes build directories in the specified folder and its subdirectories.

---

## πŸ“¦ Installation


### Option 1: Install via Cargo


```bash
cargo install rs_clean
```

### Option 2: Download from Releases


πŸ‘‰ [Download from GitHub Releases](https://github.com/your-repo/releases)
Grab the latest binary for your operating system.

---

## ✨ Features


* βœ… Cleans **Rust** projects: `target/`
* βœ… Cleans **Go** build output
* βœ… Cleans **Gradle** projects: `build/`
* βœ… Cleans **Maven** projects: `target/`
* βœ… Recursively scans subdirectories
* βœ… Automatically detects project type

---

## πŸ“‚ Example Structure


```bash
$ tree my_projects/
my_projects/
β”œβ”€β”€ rust_app/
β”‚   └── target/
β”œβ”€β”€ go_service/
β”‚   └── bin/
β”œβ”€β”€ gradle_app/
β”‚   └── build/
└── maven_module/
    └── target/
```

After running:

```bash
$ rs_clean my_projects/
```

The build artifacts will be cleaned:

```bash
$ tree my_projects/
my_projects/
β”œβ”€β”€ rust_app/
β”œβ”€β”€ go_service/
β”œβ”€β”€ gradle_app/
└── maven_module/
```

---

## πŸ’‘ Use Cases


* Free up disk space by removing large build folders.
* Ensure a clean build environment in CI/CD pipelines.
* Clean multiple types of projects in monorepos.

---

## πŸ›  Roadmap


* [ ] Support Node.js projects (`node_modules/`)
* [ ] Show disk space saved after cleanup
* [ ] Add interactive confirmation prompts

---

## 🀝 Contributing


We welcome contributions and feedback!

* Open an [issue]https://github.com/pwh-pwh/rs_clean/issues for bugs or suggestions
* Submit a pull request for enhancements
* Star ⭐ the repo if you find it helpful

---

## πŸ“„ License


MIT License Β© 2025 \[coderpwh]