A CLI tool to remove build directories and other clutter
sh
cargo install tidy
Remove all target directories from the current working directory and all its children
sh
tidy
The directories to remove
node_modules, target
sh
tidy -t build, node_modules
Directories that will not be searched. Will not prevent a directory from being deleted if it is in the target directories.
.cache, .local, .config
sh
tidy -i .cache