clean-rs

Crates.ioclean-rs
lib.rsclean-rs
version0.1.18
sourcesrc
created_at2023-09-20 16:06:27.178481
updated_at2023-09-22 10:44:57.838289
descriptionProject clean tools support rust, golang, maven and gradle projects out of the box
homepage
repositoryhttps://github.com/holi-java/clean
max_upload_size
id978309
size56,594
(holi-java)

documentation

README

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
Commit count: 46

cargo fmt