I'm creating a custom npm script with yargs and inquirer. My command can take -v for "verbose" and -h for "help".
All worked fine with npx, but if I add the script to package.json scripts, and use it with npm run, -h and -v will be taken by npm and print out npm's help and version.
Adding -- not working either.
Any workaround?