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

Schaum's Outline of Principles of Computer Science
Schaum's Outline of Principles of Computer Science
Learn the essentials of computer science

Schaum’s Outline of Principles of Computer Science provides a concise overview of the theoretical foundation of computer science. It also includes focused review of object-oriented programming using Java.

About the Author

Paul...

Beginning PHP, Apache, MySQL Web Development
Beginning PHP, Apache, MySQL Web Development
PHP, Apache, and MySQL are the three key open source technologies that form the basis for most active Web servers. This book takes you step by step through understanding each – using it and combining it with the other two on both Linux and Windows servers.

This book will guide you through creating your own sites using the open source AMP...

Windows Vista(TM) Administrator's Pocket Consultant
Windows Vista(TM) Administrator's Pocket Consultant

Portable and precise, this pocket-sized guide delivers immediate answers for the day-to-day administration of Windows Vista. Zero in on core support and maintenance tasks using quick-reference tables, instructions, and lists. You’ll get the precise information you need to solve problems and get the job done—whether you’re at...


Advanced Excel Essentials
Advanced Excel Essentials

Advanced Excel Essentials is the only book for the experienced Excel developer. This book starts from the assumption that you are well-versed in Excel--and builds on your skills to take them to the advanced level. It will show you the building blocks of advanced development and then take you through the development of your own advanced...

How to Cheat in Photoshop CS4: The art of creating photorealistic montages
How to Cheat in Photoshop CS4: The art of creating photorealistic montages

Do you want to let your creativity run wild in Photoshop, but don't know where to start? Are you having trouble getting your ideas out of your head and onto the screen? Do you need your photomontages to look convincing... and fast?

Nobody knows more about how to work quickly under pressure and still produce top-notch results than...

System Modeling and Optimization : Proceedings of the 21st IFIP TC7 Conference
System Modeling and Optimization : Proceedings of the 21st IFIP TC7 Conference
This paper initiates a mathematical theory of aeroelasticity centered
on the canonical problem of the flutter boundary — an instability endemic
to aircraft that limits attainable speed in the subsonic regime.
We develop a continuum mathematical model that exhibits the known
flutter phenomena and yet is amenable to analysis
...
©2015 LearnIT (support@pdfchm.net) - Privacy Policy