rm-plus

1.0.12 • Public • Published

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

Package Sidebar

Install

npm i rm-plus

Weekly Downloads

0

Version

1.0.12

License

ISC

Unpacked Size

4.51 kB

Total Files

3

Last publish

Collaborators

  • ducaoya