Crates.io | clean-workspace |
lib.rs | clean-workspace |
version | 1.1.0 |
source | src |
created_at | 2021-04-13 02:43:15.845435 |
updated_at | 2023-08-05 02:17:31.303472 |
description | Utility to remove package folders from projects in a workspace |
homepage | |
repository | https://gitlab.com/phillipcouto/clean-workspace |
max_upload_size | |
id | 382657 |
size | 16,893 |
This is a utility to recursively remove packages and build files and folders from a workspace folder.
Currently supported project types:
The utility looks for a package.json
file or a Cargo.toml
file in a folder to determine if there is
a possibility of the node_modules
folder for package.json
files or target
folder for Cargo.toml
files exists. If so the full path to the node_modules
folder or target
folder are queued and removed
at the end.
This is valuable if you have a workspace folder with many projects scattered throughout that you would like to clean up these large folders without tracking them down yourself. Currently the tool only has a dry-run flag to print the folders it has identified for removal.
Enhancements and bug fixes are welcome.