Crates.io | devclean |
lib.rs | devclean |
version | 0.1.1 |
source | src |
created_at | 2024-05-06 08:27:59.479376 |
updated_at | 2024-05-06 20:42:25.49402 |
description | A tool to clean up your development environment |
homepage | |
repository | https://github.com/HuakunShen/devclean |
max_upload_size | |
id | 1230985 |
size | 55,824 |
devclean
is a tool and library for cleaning up development directories.
cargo install devclean
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.
devclean find-dirty-git <path>
❯ devclean find-dirty-git ..
⠁ Scanning: /Users/xxx/Dev/projects/devclean
Path | Depth | Size
-------------------------------------+-------+---------
/Users/xxx/Dev/projects/devclean | 0 | 1.3 GiB
Code projects can have large cache and dependency directories that can be cleaned up to save disk space.
node_modules
target
devclean <path>
devclean <path> --dry-run # Won't remove anything
devclean <path> --all # Select all found directories by default
devclean <path> -y # Skip confirmation
devclean <path> -t # Time Scanning and Cleaning