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

Hibernate: A Developer's Notebook
Hibernate: A Developer's Notebook

Hibernate is a lightweight object/relational mapping service for Java. What does that mean? It's a way to easily and efficiently work with information from a relational database in the form of natural Java objects. But that description doesn't come close to conveying how useful and exciting the technology is. I'm not the only...

Journey into Mathematics: An Introduction to Proofs (Dover Books on Mathematics)
Journey into Mathematics: An Introduction to Proofs (Dover Books on Mathematics)
Instructors have observed, when teaching junior level courses in abstract algebra, number theory, or real variables, that many students have difficulty out of proportion to the level of difficulty of the material. In an abstract algebra course introducing groups and rings, students' struggles are not affected by the changing of texts, instructors,...
The Portable MBA in Finance and Accounting
The Portable MBA in Finance and Accounting
The latest volume in the bestselling series

In today's business environment, a knowledge of finance and skills in budgeting and financial planning are more important than ever before. Totally updated and revised, this highly anticipated Third Edition provides new information on five such key topics as interpreting financial
...

Relational Database Design and Implementation, Third Edition: Clearly Explained 3e
Relational Database Design and Implementation, Third Edition: Clearly Explained 3e
Fully revised, updated, and expanded, Relational Database Design and Implementation, Third Edition is the most lucid and effective introduction to the subject available for IT/IS professionals interested in honing their skills in database design, implementation, and administration. This book provides the conceptual and practical information...
CompTIA Linux+ Certification Study Guide (2009 Exam): Exam XK0-003
CompTIA Linux+ Certification Study Guide (2009 Exam): Exam XK0-003

CompTIA's Linux+ certification is a globally-recognized, vendor neutral exam. The Linux+ exam (XK1-003) is a substantive revision with updates on applications, networking, and security. Our new study guide is aligned to cover all of the material of the updated 2009 exam with special attention to the new topics including troubleshooting...

Brachytherapy: Applications and Techniques
Brachytherapy: Applications and Techniques
Brachytherapy is the clinical use of radioactive isotopes to provide a highly conformal image-guided radiation therapy that takes advantage of the steep fall off dose characteristics and different energetic emanations to improve the therapeutic ratio. Historically it was the first mode of radiation therapy. The last...
©2014 LearnIT (support@pdfchm.net) - Privacy Policy