1.0.12 • Published 2 years ago

rm-plus v1.0.12

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

rm-plus

rimraf 的二次封装,简化命令;

install

npm i rm-plus -g

use

rmp <path> [<path> ...] 

递归删除 "path" 中所有文件和文件夹

options

  -h, --help          Display this usage info
  -G, --no-glob       Do not expand glob patterns in arguments
  -g, --glob          Expand glob patterns in arguments (default)
  --preserve-root     Do not remove '/' (default)
  --no-preserve-root  Do not treat '/' specially
  -c, --clear         Clear RecycleBin
  -n, --node_modules  Remove node_modules
  --                  Stop parsing flags

新增功能

  • 清除回收站( v >= v1.0.5)
rmp --clear
# 或者
rmp -c
  • 清除node_modules( v >= v1.0.9)
rmp --clear
# 或者
rmp -c
1.0.11

2 years ago

1.0.12

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.10

2 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago