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

Microsoft Windows Internals, Fourth Edition: Microsoft Windows Server(TM) 2003, Windows XP, and Windows 2000 (Pro-Developer)
Microsoft Windows Internals, Fourth Edition: Microsoft Windows Server(TM) 2003, Windows XP, and Windows 2000 (Pro-Developer)
The premier guide to the Windows kernel now covers Windows Server 2003, Windows XP, and Windows 2000, including 64-bit extensions. Get the architectural perspectives and insider insights needed to unlock the power of Windows.

The classic, in-depth developer's guide to the Windows kernel now covers Windows .NET Server 2003, Windows XP,
...
Turbo Code Applications: a Journey from a Paper to realization
Turbo Code Applications: a Journey from a Paper to realization
With the excellent performance compared to that of other existing codes, turbo code and its successors have been adopted into many communication systems and incorporated with various industrial standards. To celebrate another communication engineering milestone, leading experts present together with the contemporary applications of most modern...
Tools and Applications with Artificial Intelligence (Studies in Computational Intelligence)
Tools and Applications with Artificial Intelligence (Studies in Computational Intelligence)
In recent years, the use of Artificial Intelligence (AI) techniques has been greatly increased. The term “intelligence” seems to be a “must” in a large number of European and International project calls. AI Techniques have been used in almost any domain. Application-oriented systems usually incorporate some kind of...

Game Theory: A Critical Introduction
Game Theory: A Critical Introduction
As ever there are people and cats to thank. There is also on this occasion electronic mail. The first draft of this book took shape in various cafeterias in Florence during YV’s visit to Europe in 1992 and matured on beaches and in restaurants during SHH’s visit to Sydney in 1993. Since then the mail wires between Sydney and Norwich, or...
A Dictionary of Computer Science (Oxford Quick Reference)
A Dictionary of Computer Science (Oxford Quick Reference)

Previously named A Dictionary of Computing, this bestselling dictionary has been renamed A Dictionary of Computer Science, and fully revised by a team of computer specialists, making it the most up-to-date and authoritative guide to computing available. Containing over 6,500 entries and with expanded coverage of multimedia,...

Visual Basic.NET and XML: Harness the Power of XML in VB.NET Applications
Visual Basic.NET and XML: Harness the Power of XML in VB.NET Applications

Microsoft envisions a future where the Web will host millions of distributed applications all communications via XML. Data packaged in XL will flow to and from databases, between applications, and directly to the browser.

With the release of Visual Basic .NET, XML support is tightly integrated into the language and provides numerous...

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