11 releases
0.1.18 | Sep 22, 2023 |
---|---|
0.1.16 | Sep 22, 2023 |
#1096 in Command line utilities
25KB
608 lines
Project Clean Tools
Project clean tools supports rust
, golang
, maven
, gradle
projects out of the box.
But you could custom your own clean command via custom config file: .cleanrc
.
Install
Install From crates.io
cargo install clean-rs
Install Manually
git clone https://github.com/holi-java/clean.git
cargo install --path clean
Usage
# Clean current directory
clean
# Clean the specified directory
clean /home/projects
Custom Config File
Add .cleanrc
config file under your home directory as below:
# Directory ends with slash will remove the whole directory
node_modules/
# Using custom command to run clean
pom.xml = mvn -B --offline clean
Dependencies
~9–19MB
~258K SLoC