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

Ruby Wizardry: An Introduction to Programming for Kids
Ruby Wizardry: An Introduction to Programming for Kids

The Ruby programming language is perfect for beginners: easy to learn, powerful, and fun to use! But wouldn't it be more fun if you were learning with the help of some wizards and dragons?

Ruby Wizardry is a playful, illustrated tale that will teach you how to program in Ruby by taking you on a fantastical...

XPath Essentials
XPath Essentials
This book is a learn-by-doing book. It is for anybody who needs to start using XPath today. Throughout the chapters of this book, you will be shown example after example of working code that uses XPath. As you work through the text and the examples, I think you will find code that you can adapt or extend to your own needs and purposes. Because the...
AdvancED DOM Scripting: Dynamic Web Design Techniques
AdvancED DOM Scripting: Dynamic Web Design Techniques
Document Object Model (DOM) scripting is often misrepresented as any sort of scripting on the Web, but pure DOM scripting includes only those features and methods incorporated into a W3C DOM specification—that means no proprietary browser features. In a perfect world, we could follow the standards, ignore proprietary features, and finish with...

CSS3 Foundations
CSS3 Foundations

Master innovative and eye-catching website design with the exciting new Treehouse Series of books Turn plain words and images into stunning websites with CSS3 and this beautiful, full-color guide. Taking web designers beyond the constraints of prebuilt themes and simple site-building tools, this new Treehouse book combines practicality with...

Semantics in Adaptive and Personalized Services: Methods, Tools and Applications (Studies in Computational Intelligence)
Semantics in Adaptive and Personalized Services: Methods, Tools and Applications (Studies in Computational Intelligence)

Semantics in Adaptive and Personalised Services, initially strikes one as a specific and perhaps narrow domain. Yet, a closer examination of the term reveals much more. On one hand there is the issue of semantics. Nowadays, this most often refers to the use of OWL, RDF or some other XML based ontology description language in order to...

The Confident Decision Maker: How to Make the Right Business and Personal Decisions Every Time
The Confident Decision Maker: How to Make the Right Business and Personal Decisions Every Time
James Michael Goldsmith, a millionaire living in Paris in the late 1950s, had everything going for him-he was the head of a successful pharmaceuticals company, Laboratoires Cassene, which in the three years since its inception had become one of France's greatest success stories; he had eloped with the beautiful heiress...
©2015 LearnIT (support@pdfchm.net) - Privacy Policy