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

Hacking the PSP: Cool Hacks, Mods, and Customizations for the Sony Playstation Portable
Hacking the PSP: Cool Hacks, Mods, and Customizations for the Sony Playstation Portable
You hold in your hand the Holy Grail for PSP aficionados—300 pages of ways to have even more fun with that little handheld powerhouse than the manufacturer intended. Use it as a hard drive. Surf the Web wirelessly. Play your own movies in the palm of your hand. Build your own battery pack. Run homebrew apps. And we're just getting started....
ULSI Technology
ULSI Technology

ULSI Technology describes the theoretical and practical aspects of the most advanced state of electronics technology-ultralarge-scale integration (ULSI), where an integrated circuit (IC) chip contains over 10 million semiconductor devices. With ULSI technology, the cost of electronics products will decrease while the system functionality and...

Evolutionary Synthesis of Pattern Recognition Systems (Monographs in Computer Science)
Evolutionary Synthesis of Pattern Recognition Systems (Monographs in Computer Science)
Designing object detection and recognition systems that work in the real world
is a challenging task due to various factors including the high complexity of
the systems, the dynamically changing environment of the real world and
factors such as occlusion, clutter, articulation, and various noise contributions
that make the
...

Principles of Renal Physiology
Principles of Renal Physiology

A good knowledge of renal physiology is essential to the understanding of many disease states. The purpose of the book is to set out the principles of renal physiology and normal renal function. Now in its 30th year of continuous publication, this new edition offers a logical progression through renal physiology and pathophysiology. In...

Maya at a Glance
Maya at a Glance
Many years ago, I was a frustrated software engineer working in Silicon Valley. I was in a
very technical field, which I enjoyed, but I also had a strong desire to exercise my artistic
side. Writing code for UNIX workstations just didn’t satisfy that. I loved cartoons, so I
decided to take the
...
Algorithms and Protocols for Wireless Sensor Networks (Wiley Series on Parallel and Distributed Computing)
Algorithms and Protocols for Wireless Sensor Networks (Wiley Series on Parallel and Distributed Computing)
Boukerche is well-known and established international researcher in the field of wireless mobile networks and distributed systems. This is one of the first publications to focus on wireless ad hoc and sensor networks with a concentration on algorithms and protocols providing you with a comprehensive resource to learn about the continuous advances...
©2015 LearnIT (support@pdfchm.net) - Privacy Policy