28 Dec '15, 9pm

Terminal input with 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!

Full article: http://www.rubyflow.com/p/9o09gf-terminal-input-with-tty-...

Tweets

Fastgem -Terminal client for search ruby gem

rubyflow.com 27 Dec '15, 4pm

× The Ruby and Rails community linklog Made a library? Written a blog post? Found a useful tutorial? Share it with the Rub...