Run command installed in local node modules
npm install -D ty-help
add npm run command in your package.json file:
{
"scripts": {
"help": "ty-help"
}
}
for example, if you want to get help info of http-server
, you can simply run:
npm run help http-server
or you can run a command with other options, like:
npm run help http-server -- "./public -p 8888"
MIT