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

UML 2 for Dummies
UML 2 for Dummies
When it comes to modeling, this book is not just another pretty face! It guides you gently through the complexities of UML, helps you adjust to the UML 2 standard, shows you how to extract key information from UML models, and more. Before you know it, you'll be communicating and developing systems like never before.

If, like us, you're a
...
Repairing and Upgrading Your PC
Repairing and Upgrading Your PC

Most computer users think that fiddling with the insides of their PC is taboo. They fear that by removing the screws that hold the case on, they're crossing into forbidden territory. And even for those who know they can open the box and fix or upgrade their PC, analysis paralysis often stops them in their tracks:
...

Six Sigma--The First 90 Days
Six Sigma--The First 90 Days
The new Six Sigma has had no less than a dazzling debut, starting in late 1994 with AlliedSignal. Originated in 1987 at Motorola, Six Sigma was adopted by very few companies, though it was not taken very seriously. Only after AlliedSignal (now known as Honeywell) demonstrated Six Sigma's effectiveness in redefining a company, achieving dramatic...

Linux All-in-One Desk Reference For Dummies (Computer/Tech)
Linux All-in-One Desk Reference For Dummies (Computer/Tech)
8 books in 1— your key to success with Linux!

Your one-stop guide to working with various Linux distributions

Linux is hot! It's cost-effective, secure, and comes in a lot of varieties. And with this book to walk you through it, choosing and using a Linux distribution is...

Microsoft Windows Server 2003 Unleashed (R2 Edition)
Microsoft Windows Server 2003 Unleashed (R2 Edition)

A fresh perspective on planning, designing, implementing, and migrating to a Windows Server 2003 environment. Rand Morimoto and his co-authors began writing this book using their experience from several very large client implementations, some having more than 100 servers in production. On a daily basis, as this book was in production, they had...

Linux Phrasebook
Linux Phrasebook

Linux Phrasebook

is sure to become the pocket guide that you keep within reach at all times. This concise, handy reference can be used "in the street," just like a language phrasebook. Skipping the usual tutorial on Linux, the ...

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