matcher-cli

2.0.0 • Public • Published

matcher-cli

Simple wildcard matching

Useful when you want to accept loose string input and regexes/globs are too convoluted.

Install

npm install --global matcher-cli

Usage

$ matcher --help

  Usage
    $ <input> | matcher <pattern> […]

  Options
    --case-sensitive  Case-sensitive matching

  Example
    $ ls
    cli.js
    license
    package.json
    readme.md
    test.js
    $ ls | matcher '*.js' '!test.js'
    cli.js

Related

Package Sidebar

Install

npm i matcher-cli

Weekly Downloads

7

Version

2.0.0

License

MIT

Unpacked Size

3.4 kB

Total Files

4

Last publish

Collaborators

  • sindresorhus