3 questions
1
vote
0
answers
44
views
How can I test inquirer prompts in commander js action?
I created a CLI with commander.js and I have some prompts like inputs etc.
I want to test the prompts with unit testing, so for example to set a test value when a prompt is showing.
So for example in ...
0
votes
2
answers
191
views
with the node package "commander", "args" and others, my options are never recognized when running it from npm run
When using an args processor like commander, I can get arguments, but not options if I make a script for it.
package.json...
{
"name": "example",
"version": "0.0....