#cli-tool #cli #tool #cli-file #clean-tools

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

#966 in Command line utilities

Download history 28/week @ 2024-02-19 7/week @ 2024-02-26 3/week @ 2024-03-11 105/week @ 2024-04-01

108 downloads per month

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

~10–23MB
~287K SLoC