Closed maimake closed 6 years ago
Hey,
Thanks for using the library! The tty-prompt
prompts such as select
and multi_select
were inspired by inquirer beautiful output, though they take very much Ruby approach and implementation, as far as mechanics go, to construct the choice menus.
Currently there is no way to disable any menu items. Do you fancy submitting PR?
Thanks for your lib . And I want to know how to disable some items in list, which acts like the js lib named Inquirer. Is there any configuration with tty-prompt?
You can clone it and try:
BTW, Make all prompts(yes, ask, select ...) into one prompt is cool, like Inquirer's way