#node-modules #delete #clean #folder #directories #tui #cli

app ripnode

用于删除 node_modules 和其他文件夹的简单工具

21 个版本 (13 个稳定版)

1.1.11 2024年6月10日
1.1.10 2023年10月26日
1.1.8 2023年9月12日
1.1.7 2023年7月27日
0.6.0 2023年3月19日

#521 in 命令行工具

Download history 162/week @ 2024-06-07 19/week @ 2024-06-14 8/week @ 2024-06-28 122/week @ 2024-07-05 66/week @ 2024-07-26 6/week @ 2024-08-02

每月72次下载

MIT/Apache

26KB
500

ripnode

用于删除 node_modules 和其他文件夹的简单工具

npkill 启发

Continuous integration

安装

Cargo

cargo install ripnode

用法

默认情况下,它将以交互模式运行,显示要删除的文件夹的 TUI。

要删除的目录默认为 node_modules,但可以使用 -n 或 --name 选项更改。目录搜索从当前目录开始。

ripnode [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

控制

交互模式

操作
j,s, 向下移动
k,w, 向上移动
space,enter 删除
q,esc 退出

目的

这是我学习 Rust 和其生态系统的练习。

许可证

许可以下之一

任选其一。

贡献

除非你明确表示,否则,根据 Apache-2.0 许可证定义的,你有意提交以包含在作品中的任何贡献,都应按上述方式双重许可,没有任何额外的条款或条件。

依赖项

~10–17MB
~205K SLoC