Closed stevenzeck closed 6 years ago
Hey @szeck87. You actually found a bug :D
v2.0.1
includes the fix and was just published. Could you please run npm i -S yargs-interactive@latest
and try again? Let me know the result.
@nanovazquez I actually looked further and saw that you were passing them as options
, so I used that and it worked. Looks like you reverted it back to using choices
. I'll update yargs-interactive and switch it back to choices
in my code. Thanks!
Do
list
types work for this? I'm playing around and trying the following as an optionBut I just get an error saying
You must provide a
choicesparameter
.