Terminal input with tty-prompt
I’m happy to introduce tty-prompt for gathering user input in terminal. You can ask user for a masked input, keypress, multiline text or to select a single or multiple options from a list. The library sports a robust validation mechanism that provides dynamic error messages. Finally, tty-prompt comes with many conversion methods for converting input to desired type. Give it a try and let me know what you think!
Post a comment