# devclean ![Crates.io Version](https://img.shields.io/crates/v/devclean) [![Rust](https://github.com/HuakunShen/devclean/actions/workflows/ci.yml/badge.svg)](https://github.com/HuakunShen/devclean/actions/workflows/ci.yml) [![publish](https://github.com/HuakunShen/devclean/actions/workflows/tauri-ci.yml/badge.svg)](https://github.com/HuakunShen/devclean/actions/workflows/tauri-ci.yml) `devclean` is a tool and library for cleaning up development directories. ## Installation ```bash cargo install devclean ``` ## Features ### Find Git Repo with Uncommitted Changes Before removing a directory, it is important to check if there are any uncommitted changes in the directory. This feature finds all git repositories with uncommitted changes. ```bash devclean find-dirty-git ``` ``` ❯ devclean find-dirty-git .. ⠁ Scanning: /Users/xxx/Dev/projects/devclean Path | Depth | Size -------------------------------------+-------+--------- /Users/xxx/Dev/projects/devclean | 0 | 1.3 GiB ``` ### Find Cache and Dependencies Directories To Clean Code projects can have large cache and dependency directories that can be cleaned up to save disk space. #### Supported Projects / Languages - [ ] Node.js `node_modules` - [ ] Rust `target` #### Usage ```bash devclean devclean --dry-run # Won't remove anything devclean --all # Select all found directories by default devclean -y # Skip confirmation devclean -t # Time Scanning and Cleaning ``` ![](../assets/demo1.png) ![](../assets/demo2.png) ![](../assets/demo3.png)