Talks
Speakers
Events
Topics
Sign in
Home
Talks
Speakers
Events
Topics
Leaderboard
Use
Analytics
Sign in
Suggest modification to this talk
Title
Description
What if you were told that there is a set of simple and potent gems developed to exponentially increase productivity when building modern terminal applications such as Bundler, in next to no time? Curious about how you can harness this power and become a command line applications alchemist? RubyKaigi 2018 https://rubykaigi.org/2018/presentations/piotr_murach
Date
Summarized using AI?
If this talk's summary was generated by AI, please check this box. A "Summarized using AI" badge will be displayed in the summary tab to indicate that the summary was generated using AI.
Show "Summarized using AI" badge on summary page
Summary
Markdown supported
In the presentation 'TTY - Ruby alchemist’s secret potion' at RubyKaigi 2018, speaker Piotr Murach introduces the TTY gem, designed to simplify the creation of terminal applications in Ruby. Unlike web applications that benefit from standards like Rails, terminal development lacks a cohesive approach, prompting the need for TTY. Key points discussed in the video include: - **Introduction to TTY**: The gem serves as a meta-gem that helps developers manage the complexities of terminal applications effectively. - **Guiding Principles**: TTY employs principles reminiscent of Rails, particularly convention over configuration, to provide an intuitive structure for documenting commands. - **Use Cases**: While small scripts may not require TTY, larger applications with numerous commands and dependencies can benefit significantly from its organizational capabilities. - **Installation and Setup**: Starting with TTY is straightforward; developers can install it using 'gem install TTY'. The gem scaffolds a basic application setup that includes essential directories and files. - **Command Structure**: Each command operates like a controller, with a main entry point resembling Rails’ router to guide command execution. TTY also includes ERB templates to ease command creation. - **Configuration Management**: TTY offers tools for managing application configurations efficiently, supporting various file types like JSON and YAML. - **Example Application**: Murach highlights a project named Coin Pair, showcasing how TTY simplifies user interactions by managing cryptocurrency holdings through intuitive prompts. - **Conclusion**: TTY streamlines the development of terminal applications, allowing developers to focus on logic rather than boilerplate code, hence enhancing productivity. The session concludes with encouragement for attendees to utilize TTY for managing command line applications and to feel free to seek assistance or share feedback about the gem.
Suggest modifications
Cancel