Crate clean_rs

source ·
Expand description

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

Modules

Enums

Functions

Type Aliases