Home | Amazing | Today | Tags | Publishers | Years | Account | Search 
Loading
Build Awesome Command-Line Applications in Ruby: Control Your Computer, Simplify Your Life

Buy

As Ruby pro David Copeland explains, writing a command-line application that is self-documenting, robust, adaptable and forever useful is easier than you might think. Ruby is particularly suited to this task, since it combines high-level abstractions with "close to the metal" system interaction wrapped up in a concise, readable syntax. Moreover, Ruby has the support of a rich ecosystem of open-source tools and libraries.

Ten insightful chapters each explain and demonstrate a command-line best practice. You'll see how to use these tools to elevate the lowliest automation script to a maintainable, polished application.

You'll learn how to use free, open source parsers to create user-friendly command-line interfaces as well as command suites. You'll see how to use defaults to keep options simple for everyday users, while giving advanced users options for more complex tasks.

There's no reason a command-line application should lack documentation, whether it's part of a help command or a man page; you'll find out when and how to use both. Your journey from command-line novice to pro ends with a look at valuable approaches to testing your apps, and includes some fun techniques for outside-the-box, colorful interfaces that will delight your users.

With Ruby, the command line is not dead. Long live the command line.

What You Need:

All you'll need is Ruby, and the ability to install a few gems along the way. Examples written for Ruby 1.9.2, but 1.8.7 should work just as well.

(HTML tags aren't allowed.)

Migrating from Microsoft Windows NT Server 4.0 to Windows Server 2003
Migrating from Microsoft Windows NT Server 4.0 to Windows Server 2003

Get real-world guidance—direct from the Microsoft Windows Server 2003 team—for planning and deploying an upgrade from Windows NT 4.o to Windows Server 2003 for your small or medium-sized business. This book delivers straightforward, step-by-step instructions on how to upgrade to an Active Directory directory service environment;...

Google Search and Tools in a Snap (Sams Teach Yourself)
Google Search and Tools in a Snap (Sams Teach Yourself)

These days, nobody really wants to learn everything there is about a product like Google Tools. And even if you did, who has the time to endlessly tinker and play with it until you figure everything out? You just want a book that will quickly show you how to do things with Google Tools, like perform power searches, find pictures...

iPhone and iPad Apps for Absolute Beginners, iOS 5 Edition
iPhone and iPad Apps for Absolute Beginners, iOS 5 Edition

The iPhone is the hottest gadget of our generation, and much of its success has been fueled by the App Store, Apple’s online marketplace for iPhone applications. Over 1 billion apps were downloaded during the nine months following the launch of the App Store, ranging from the simplest games to the most complex business apps....


Pro Tools for Music Production, Second Edition: Recording, Editing and Mixing
Pro Tools for Music Production, Second Edition: Recording, Editing and Mixing
If you are a music producer, recording engineer, musician, or composer there is definitely something in this book for you. If you are about to purchase new equipment, wish to troubleshoot technical problems, need guidance on how to achieve professional sounding results, or are looking for inspiration for new ideas - keep this book by your side....
The Catalyzing Mind: Beyond Models of Causality (Annals of Theoretical Psychology)
The Catalyzing Mind: Beyond Models of Causality (Annals of Theoretical Psychology)

How do we understand and explain phenomena in psychology? What does the concept of “causality” mean when we discuss higher psychological functions and behavior? Is it possible to generate “laws” in a psychological and behavioral science—laws that go beyond statistical regularities, frequencies, and probabilities?...

Provenance and Annotation of Data and Process: Third International Provenance and Annotation Workshop
Provenance and Annotation of Data and Process: Third International Provenance and Annotation Workshop

Interest in and needs for provenance are growing as data proliferate. Data are increasing in a wide array of application areas, including scientific workflow systems, logical reasoning systems, text extraction, social media, and linked data. As data volumes expand and as applications become more hybrid and distributed in nature, there is...

©2016 LearnIT (support@pdfchm.net) - Privacy Policy