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 命令行工具
每月72次下载
26KB
500 行
ripnode
用于删除 node_modules 和其他文件夹的简单工具
受 npkill
启发
安装
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 License 2.0,(LICENSE-APACHE 或 https://apache.ac.cn/licenses/LICENSE-2.0)
- MIT 许可证 (LICENSE-MIT 或 http://opensource.org/licenses/MIT)
任选其一。
贡献
除非你明确表示,否则,根据 Apache-2.0 许可证定义的,你有意提交以包含在作品中的任何贡献,都应按上述方式双重许可,没有任何额外的条款或条件。
依赖项
~10–17MB
~205K SLoC