Yet another opinionated CLI to reset your working directory with @messageflow/clean.
# Run CLi with npx
$ npx -p @messageflow/clean-cli -- clean
# Install via NPM globally
$ npm install --global @messageflow/clean-cli
$ npx -p @messageflow/clean-cli -- clean --help
Usage
$ clean <path|glob> ...
Options
-i, --file Specify the path to read \`.gitignore\`
-p, --path Specify the glob patterns to delete files/ folders.
-f, --force Allow deleting the current working directory and outside
-d, --dry-run List what would be deleted instead of deleting
Examples
$ clean .
$ clean -i ./.gitignore
$ clean -i ./.gitignore -d
$ clean -p "**/src/**/*.js,**/src/**/*.d.ts,!gulpfile.js"
MIT License © Rong Sen Ng