Nothing Special   »   [go: up one dir, main page]

Skip to content

Simple tool for deleting node_modules and other folders

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

JorgeMayoral/ripnode

Repository files navigation

ripnode

Simple tool for deleting node_modules and other folders

Inspired by npkill

Continuous integration

Installation

Cargo

cargo install ripnode

Usage

By default, it will run in interactive mode, showing a TUI with the folders to delete.

Directory to delete defaults to node_modules, but can be changed with the -n or --name option. Directory search starts from the current directory.

ripnode [OPTIONS]

Options

  -d, --dry-run          See what would be deleted without actually deleting anything
  -n, --name <NAME>      The name of the folder to delete [default: node_modules]
      --non-interactive  Run as CLI, without TUI
  -v, --verbose...       More output per occurrence
  -q, --quiet...         Less output per occurrence
  -h, --help             Print help
  -V, --version          Print version

Controls

Interactive mode

Key Action
j, s, ↓ Move down
k, w, ↑ Move up
space, enter Delete
q, esc Quit

Purpose

This is a learning exercise for me to learn Rust and keeping up with its ecosystem.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.