Glob Tester CLI
Just a simple CLI tool to test glob patterns.
Installation
It's meant to be a CLI tool to test glob patterns, so install it globally via npm.
$ npm install -g glob-tester-cli
Usage
Pass in the pattern as a string in quotes:
$ glob '*.js'> Pattern: *.js> Options:
Root Option
Optionally, you can define the root option (where /
points to).
$ glob '*.js' --root ~/Projects> Pattern: *.js> Options:
If no directory is included with --root
the CLI assumes process.cwd()
:
$ cd ~/$ glob '*.js' --root> Pattern: *.js> Options: