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

Expert C# 2008 Business Objects
Expert C# 2008 Business Objects
Do you want to create .NET applications that provide high performance and scalability? Do you want to employ object–oriented programming techniques in a distributed environment? Do you want to maximize the reuse and maintainability of your code? Then this book is for you.

In Rockford Lhotka’s Expert C# 2008...

The Arrows of Time: A Debate in Cosmology (Fundamental Theories of Physics)
The Arrows of Time: A Debate in Cosmology (Fundamental Theories of Physics)

The concept of time has fascinated humanity throughout recorded history, and it remains one of the biggest mysteries in science and philosophy. Time is clearly one of the fundamental building blocks of the universe and thus a deeper understanding of nature at a fundamental level also demands a comprehension of time. Furthermore, the origins...

Computer Vision: From Surfaces to 3D Objects
Computer Vision: From Surfaces to 3D Objects

The typical computational approach to object understanding derives shape information from the 2D outline of the objects. For complex object structures, however, such a planar approach cannot determine object shape; the structural edges have to be encoded in terms of their full 3D spatial configuration. Computer Vision: From Surfaces...


RFID+: CompTIA RFID+ Study Guide and Practice Exam (RF0-001)
RFID+: CompTIA RFID+ Study Guide and Practice Exam (RF0-001)
Radio Frequency Identification (RFID) is an automatic identification method, relying on storing and remotely retrieving data using devices called RFID tags (also called transponders).

This book is a guide to CompTIA's new RFID+ Security exam and includes the following study elements: Exam objectives covered in a chapter are clearly
...
The Instant Sales Pro: More Than 600 Tips and Techniques to Accelerate Your Sales Success
The Instant Sales Pro: More Than 600 Tips and Techniques to Accelerate Your Sales Success

For the sales professional with more energy than experience and more ambition than knowledge, the fast lane to success can be riddled with potholes. But the last thing these go-getters want to do is get bogged down with some huge book of sales techniques.

The Instant Sales Pro offers instead a quick yet comprehensive guide to...

Non-Western Educational Traditions: Indigenous Approaches to Educational Throught and Practice
Non-Western Educational Traditions: Indigenous Approaches to Educational Throught and Practice
This text provides a brief yet comprehensive overview of a number of non-Western approaches to educational thought and practice. Its premise is that understanding the ways that other people educate their children--as well as what counts for them as "education"--may help us think more clearly about some of our own assumptions and values,...
©2016 LearnIT (support@pdfchm.net) - Privacy Policy