bin+lib clean-rs

Project clean tools support rust, golang, maven and gradle projects out of the box

11 releases

0.1.18 Sep 22, 2023
0.1.16 Sep 22, 2023

MIT and GPL-2.0 licenses

25KB
608 lines

Project Clean Tools

Rust crates.io docs.rs

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–18MB
~258K SLoC