clean-folder
Easy way clean node project folder
Last updated 3 years ago by zcong .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install clean-folder 
SYNC missed versions from official npm registry.

clean-folder

NPM version NPM downloads Build Status

Easy way clean node project folder, only work in folder which has package.json, more safety.

Only output flies will be deleted by default.

Install

$ yarn global add clean-folder

Usage

$ clean-folder <path|glob> [options]
# or use alias cf

Options

--force, -f

type: bool

Allow deleting the current working directory and outside

--dry-run, -d

type: bool

List what would be deleted instead of deleting

--custom, -c

type: bool

Disable default options, default is delete all cwd folder files except node_modules!! If this options set true, will be the same as del-cli

--run, -r

type: bool

Run delete task

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Author

clean-folder © zcong1993, Released under the MIT License.
Authored and maintained by zcong1993 with help from contributors (list).

github.com/zcong1993 · GitHub @zcong1993

Current Tags

  • 0.0.2                                ...           latest (3 years ago)

2 Versions

  • 0.0.2                                ...           3 years ago
  • 0.0.1                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 1
Last Month 17
Dependencies (5)
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |