TTY gems let you solve command line problems in the same way Unix philosophy of focused tools does. You can string gems together as you please.
Each gem is an independent component and can be combined in many fantastic ways with other libraries outside of tty.
All tty components are small packages that do one thing well and hence are well tested.
Each tty gem is a small package of straightforward api calls. The source is small and easy to understand.
Mix & match what you need to build your command line tool
A set of methods for processing keyboard input in character, line and multiline modes.
Learn moreDefine, read and write any Ruby app configurations with a penchant for terminal clients.
Learn moreWhile installing TTY is simple, there are a few requirements
TTY is installed and managed via rubygems, the ruby package manager.
To install all the tty components on your system, you need to install tty gem.
$ gem install ttyAlternatively, you can lookup your favourite tty gem and install it directly.
$ gem install tty-promptYou are one step away from generating your terminal application
Once tty gem is installed you gain access to teletype which together with all tty gems provides everything you need to build great command line applications.
$ teletype new app
# Your teletype project has been created successfully.
# Run "teletype help" for more commands.