clean-dir
v1.0.3
Published
Command line util to safely clean a directory
Maintainers
Readme
cleandir
Command line util to safely clean a directory
About
This small command line tool uses trash to safely clean the current working directory or the directory specified.
Install
$ npm install -g clean-dirUsage
Command-line
Cleans up the current working directory:
$ cleandirCleans a given directory:
$ cleandir ~/path-to-cleanDisplays the help message:
$ cleandir --helpProgrammatic API
var cleandir = require('clean-dir');
cleandir('~/path-to-clean', function (err) {});License
MIT © Ruy Adorno
