clean-folder

0.0.2 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i clean-folder

Weekly Downloads

1

Version

0.0.2

License

MIT

Last publish

Collaborators

  • zcong