clean-folder
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
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- 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