Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lesnake04/cargo-cleanall
A simple tool to clean all projects in a directory.
https://github.com/lesnake04/cargo-cleanall
cargo cleaner rust-lang
Last synced: 25 days ago
JSON representation
A simple tool to clean all projects in a directory.
- Host: GitHub
- URL: https://github.com/lesnake04/cargo-cleanall
- Owner: LeSnake04
- License: agpl-3.0
- Created: 2022-10-27T10:37:14.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-24T08:36:42.000Z (about 2 years ago)
- Last Synced: 2024-08-09T20:32:00.389Z (6 months ago)
- Topics: cargo, cleaner, rust-lang
- Language: Rust
- Homepage:
- Size: 54.7 KB
- Stars: 13
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Cargo Cleanall
A simple tool to clean all cargo projects in a directory.## Help
```
Cargo plugin to clean all cargo projects in a directoryUsage: cargo cleanall [OPTIONS] ...
Arguments:
... Path to search for projects to cleanOptions:
-H, --hidden Get size of and clean hidden folders
-d, --dry Don't clean any files
-i, --ignore Ignore folders
-s, --no-size Don't calculate the size
-h, --help Print help information
-V, --version Print version information
```## Output
```
$ cargo cleanall .
INFO [cargo_cleanall] 1.2 GB => 117.8 MB (-1.1 GB: -90.303 %)
```## Features
+ Asynchronous scan and cleanup for fast performance
+ Show size from before and after as well as an percentage (Can be turned off).
+ Option to include hidden files
+ Option to ignore folders## Roadmap
+ Bugfixes
+ Code cleanup
+ Optimizations
Code reviews, suggestions and bug reports are welcome.## Logging
This crate uses [flexi_logger](www.docs.rs/flexyi_logger).
To enable verbose output run with enviroment variable `RUST_LOG="debug"`