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.)

Learning the bash Shell, 3rd Edition
Learning the bash Shell, 3rd Edition
This refreshed edition serves as the most valuable guide yet to the bash shell. It's full of practical examples of shell commands and programs guaranteed to make everyday use of Linux that much easier. Includes information on key bindings, command line editing and processing, integrated programming features, signal handling, and much more!
...
Dimensional Data Warehousing with MySQL: A Tutorial
Dimensional Data Warehousing with MySQL: A Tutorial

Welcome to Dimensional Data Warehousing with MySQL: A Tutorial.

Data warehousing enables unified information delivery by collecting data from various operational and administrative information systems already in operation and possibly from external data sources. The data from...

The Particle Odyssey: A Journey to the Heart of Matter
The Particle Odyssey: A Journey to the Heart of Matter
"Succeeds in providing readers with an overview of the historical development of particle physics and an appreciation of the exciting ideas that drive current research. No book better captures the visual and intellectual sweep of a century of particle physics."--American Scientist

Boasting more than three hundred
...

Relativity: The Special and the General Theory (Penguin Classics)
Relativity: The Special and the General Theory (Penguin Classics)

The Nobel Prize-winning scientist’s presentation of his landmark theory

According to Einstein himself, this book is intended "to give an exact insight into the theory of Relativity to those readers who, from a general scientific and philosophical point of view, are interested in the theory, but who are not
...

Network Security Essentials: Applications and Standards (4th Edition)
Network Security Essentials: Applications and Standards (4th Edition)

In this age of universal electronic connectivity, of viruses and hackers, of electronic eavesdropping and electronic fraud, there is indeed no time at which security does not matter.Two trends have come together to make the topic of this book of vital interest. First, the explosive growth in computer systems and their interconnections...

Beginning Android Web Apps Development: Develop for Android using HTML5, CSS3, and JavaScript
Beginning Android Web Apps Development: Develop for Android using HTML5, CSS3, and JavaScript

Both of the first author’s (Jon’s) parents were artists. They each could draw fantastical pictures that resembled real life, and were shocked to see that their son could barely muster up a stick figure. If you’ve always felt that your inner artist was best expressed through what you could build with the help of a computer...

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