devcleaner

Crates.iodevcleaner
lib.rsdevcleaner
version0.1.2
sourcesrc
created_at2021-12-16 03:18:50.866327
updated_at2021-12-18 13:50:39.910899
descriptionA tool to search for node_modules an clean the projects selected
homepagehttps://github.com/DevCleaner/devcleaner
repositoryhttps://github.com/DevCleaner/devcleaner
max_upload_size
id498990
size103,671
Yuniel Acosta Pérez (yacosta738)

documentation

README

Continuous Deployment Continuous Integration Licence LOC crates.io link Release Coverage GitHub Downloads Crate.io downloads

Follow Yuniel Acosta Pérez (yacosta738)

DevCleaner

A tool to search for node_modules a clean the projects selected

Installation

Homebrew (Mac & Linux)

brew tap DevCleaner/devcleaner
brew install devcleaner

# If you need to be more specific, use:
brew install DevCleaner/devcleaner/devcleaner

To upgrade

brew upgrade devcleaner

Scoop (Windows - Recommended way)

scoop bucket add kdash-bucket https://github.com/DevCleaner/scoop-devcleaner

scoop install devcleaner

Chocolatey (Windows)

Choco package located here. Since validation of the package takes forever, it may take a long while to become available after a release. I would recommend using Scoop instead for Windows.

choco install kdash

# Version number may be required for newer releases, if available:
choco install devcleaner --version=0.1.0

To upgrade

choco upgrade devcleaner --version=0.1.0

Install script

Run the below command to install the latest binary. Run with sudo if you dont have write access to /usr/local/bin. Else the script will install to current directory

curl https://raw.githubusercontent.com/DevCleaner/devcleaner/main/deployment/getLatest.sh | bash

Manual

Binaries for macOS, Linux and Windows are available on the releases page

  1. Download the latest binary for your OS.
  2. For Linux/macOS:
    1. cd to the file you just downloaded and run tar -C /usr/local/bin -xzf downloaded-file-name. Use sudo if required.
    2. Run with devcleaner
  3. For Windows:
    1. Use 7-Zip or TarTool to unpack the tar file.

    2. Run the executable file devcleaner.exe

Cargo

If you have Cargo installed then you install KDash from crates.io

cargo install devcleaner

Note: On Debian/Ubuntu you might need to install libxcb-xfixes0-dev and libxcb-shape0-dev. On Fedora libxcb and libxcb-devel would be needed.

Note: On Linux you might need to have package xorg-dev (Debian/Ubuntu) or xorg-x11-server-devel (Fedora) or equivalent installed for the copy to clipboard features to work

Note: If you are getting compilation error from openSSL. Make sure perl and perl-core are installed for your OS.

You can also clone the repo and run cargo run or make to build and run the app

USAGE:

devcleaner

Press ? while running the app to see keybindings

FLAGS:

  • -h, --help: Prints help information

  • -V, --version: Prints version information

  • -p, --path: Set the path to scan for the criteria.

  • -c, --criteria: Set the criteria to search.

Licence

MIT

Authors

Commit count: 62

cargo fmt