create nodejs cli select/options menu

I believe yeoman is using inquirer. Source: yo's dependencies.

I've also seen prompts which has a similar arrow selection feature and other cli ui/ux features. See the demos about halfway down the page.

Note: I've never actually used either, I'm just in the same research phase.


looks like 'inquirer' (npm i inquirer)

also for progress bars and such you should look at clui (npm i clui)

for parsing commands most use commander (npm commander) or the open cli framework (npm i oclif) - you can also look at yargs (very similar to commander, npm i yargs)

inquirer and clui work very well with both command parsers.

Have fun.