SBoudrias/Inquirer.js ? reverse-engineered prompt
Reverse engineered prompt
Build me a small TypeScript library for interactive command line prompts, like a modern Inquirer style toolkit.
I want it to let me ask questions in the terminal and get back answers for things like text input, selecting one option, checking multiple options, confirming yes or no, entering a password, choosing from a raw list, expanding shortcuts, searching, numbers, and opening the user’s editor for longer text. It should feel nice to use from other Node scripts, with simple imports and an easy way to compose prompts.
Please also include a friendly demo or example command so I can try the prompts in my terminal, and make sure it works well in a few languages if possible, with automatic locale detection when the environment provides it. Keep it clean, fast, and well tested, and use current docs online if you need to.
Are you gonna build this?
make sure you review the code using coderabbit