@messageflow/clean-cli

0.0.3 • Public • Published

@messageflow/clean-cli

CLI for @messageflow/clean


NPM

Version Downloads MIT License Code of Conduct

Build Status Dependency Status NSP Status

codebeat-badge codacy-badge

Yet another opinionated CLI to reset your working directory with @messageflow/clean.

Table of contents

Pre-requisites

Setup

Install

Run with npx (recommended)

# Run CLi with npx
$ npx -p @messageflow/clean-cli -- clean

Or, install globally

# Install via NPM globally
$ npm install --global @messageflow/clean-cli

Usage

With npx (recommended)

$ 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"

License

MIT License © Rong Sen Ng

Package Sidebar

Install

npm i @messageflow/clean-cli

Weekly Downloads

0

Version

0.0.3

License

MIT

Unpacked Size

10.4 kB

Total Files

6

Last publish

Collaborators

  • motss