2.0.0 • Published 3 years ago

matcher-cli v2.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
3 years ago

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