@dymexjs/globcli
v0.0.4
Published
Same as globcli but newer
Readme
Dymexjs - @dymexjs/globcli
Same as globstar but newer
Run programs with glob support, especially on Windows within npm scripts.
Table of Contents
Install
npm install @dymexjs/globcli
or
npm install @dymexjs/globcli --globalUsage
> globcli -- echo "./REA*.md"
README.mdPlease note the -- and that globcli uses forward slashes.
Under the hood globcli uses yargs to parse cli arguments and glob to parse the patterns.
It also uses debug for debugging purposes, to see the debug messages just set DEBUG env var to DEBUG=dymexjs:globcli
Npm Scripts
npm install @dymexjs/globcli -D"scripts": {
"test": "globcli -- tsx --test \"tests/**/*.test.ts\"",
}Options
Run programs with globcli support.
Usage: index.js [OPTION]... -- COMMAND [ARG]...
Note the -- between the index.js OPTIONS and the COMMAND and its argumen
ts
Options:
--version Show version number [boolean]
--nodir glob patterns do not match directories, only files [boolean]
-i, --ignore add glob pattern to exclude from matches [array]
-n, --node same as `--ignore "node_modules/**"` [boolean]
--help Show help [boolean]
Use 'DEBUG=dymexjs:globcli' to see debug messagesCode of Conduct
We expect everyone to abide by our Code of Conduct. Please read it.
How to Contribute
Check out our Contributing Guide for information on contributing.
License 📝
Licensed under the MIT License.
Contributors ✨
This project follows the all-contributors specification. Contributions of any kind welcome!
