1 unstable release
Uses new Rust 2024
new 0.1.0 | May 21, 2025 |
---|
#1641 in Command line utilities
16KB
420 lines
Crufty
Crufty is a command-line tool that scans your projects for large build artifacts and cleans them up safely. It supports many common languages and build systems including Rust, Node.js, Python, Java, and more.
Usage
A command-line tool that scans projects for large build artifacts and cleans them up
Usage: crufty <COMMAND>
Commands:
scan Scan for build artifacts in the current directory
clean Clean all build artifacts in the current directory
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help
-V, --version Print version
Usage examples
Basic Scan
> crufty scan
[+] Scanning: /Users/encodepanda/projects
[1] ./crufty/target 419.6 MB
[2] ./too-many-lists/target 33.9 MB
[3] ./rust-web/target 977.7 MB
[4] ./rshttp/target 16.3 MB
Total size: 1.4 GB in 4 directories
Use `crufty clean` to remove these safely
Clean-up
> crufty clean
4 directories were removed, restoring 1.4 GB
Dependencies
~7–16MB
~197K SLoC