matcher-cli
Simple wildcard matching
Last updated 2 years ago by sindresorhus .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install matcher-cli 
SYNC missed versions from official npm registry.

matcher-cli Build Status

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

License

MIT © Sindre Sorhus

Current Tags

  • 1.0.1                                ...           latest (2 years ago)

2 Versions

  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 1
This Month 1
Last Day 0
Last Week 0
Last Month 0
Dependencies (3)
Dev Dependencies (3)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |