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

Architecting Mobile Solutions for the Enterprise
Architecting Mobile Solutions for the Enterprise
As far back as 1999, some smart guys predicted that mobile would become the primary focus of development in only a few years. Although it has taken a bit more time than expected, the era of mobile software has arrived at last. Why did it take so long? The answer is surprisingly simple: mobile software needed a critical mass of users...
Domain Names: How to Choose and Protect a Great Name for Your Website (Quick & Legal)
Domain Names: How to Choose and Protect a Great Name for Your Website (Quick & Legal)
With clever (and even not-so-clever) names for websites disappearing faster than you can say "Internet Start-Up," e-entrepreneurs need to know that their choice won't be whisked out from under their ISPs.

This book explains in plain English how to choose, register and protect a domain name that works. Written both for those...

Hacking iPod and iTunes (ExtremeTech)
Hacking iPod and iTunes (ExtremeTech)
How to Mod The Pod and fine-tune iTunes

Does your iPod go wherever you do? This book will take the two of you on your most exciting adventure–deep into iPod’s awesome potential. You already know it’s a musical prodigy, but wait 'til you teach your iPod to take notes, give you the weather and stock quotes, keep your...


Innovative Technologies for Information Resources Management (Premier Reference Source)
Innovative Technologies for Information Resources Management (Premier Reference Source)
As information resources management becomes increasingly dependent on emerging technologies to combat its challenges and decipher its effective strategies, the demand builds for a critical mass of research in this area.

Innovative Technologies for Information Resources Management brings together compelling content related to...

Linguistic Modeling of Information and Markup Languages: Contributions to Language Technology
Linguistic Modeling of Information and Markup Languages: Contributions to Language Technology

This book addresses the interests of a large community of researchers in the fields of XML-based annotation techniques and corpus-based language technology. It covers the most significant recent developments in this field, from multi-layered mark-up and standards to theoretical formalisms to applications. The contributions are based on research...

Multi-Disciplinary Advancement in Open Source Software and Processes
Multi-Disciplinary Advancement in Open Source Software and Processes
In the last years, free and open source software, i.e. software under a license that grants several rights like free redistribution to the user, has become more and more important, with this importance now stretching beyond the mere use of well-known projects in both private and commercial settings (Fitzgerald, 2006; von Krogh and...
©2014 LearnIT (support@pdfchm.net) - Privacy Policy