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

The Data Access Handbook: Achieving Optimal Database Application Performance and Scalability
The Data Access Handbook: Achieving Optimal Database Application Performance and Scalability
Performance and scalability are more critical than ever in today’s enterprise database applications, and traditional database tuning isn’t nearly enough to solve the performance problems you are likely to see in those applications. Nowadays, 75-95% of the time it takes to process a data request is typically spent in the database...
Inside Symbian SQL: A Mobile Developer's Guide to SQLite
Inside Symbian SQL: A Mobile Developer's Guide to SQLite

This is the definitive guide for Symbian C++ developers looking to use Symbian SQL in applications or system software.

Since Symbian SQL and SQLite are relatively new additions to the Symbian platform, Inside Symbian SQL begins with an introduction to database theory and concepts, including a Structured Query Language (SQL)...

Infrared Spectroscopy: Fundamentals and Applications (Analytical Techniques in the Sciences)
Infrared Spectroscopy: Fundamentals and Applications (Analytical Techniques in the Sciences)
Analytical Techniques in the Sciences

This series of books provides coverage of all of the major analytical techniques and their application in the most important areas of physical, life and materials science. Each text is presented in an open learning/distance learning style, in which the learning objectives are clearly identified. The...


Real-time 3D Character Animation with Visual C++ (Book & CD-ROM)
Real-time 3D Character Animation with Visual C++ (Book & CD-ROM)
Do you have some experience and a reasonable knowledge of C++ and want to write your own computer games? Have you ever looked at a PC or Playstation (R) game with characters running and leaping through an exciting landscape and wondered how it was done? If so then this book will give you all the information you need to achieve this goal, whether...
Web Design for Developers: A Programmer's Guide to Design Tools and Techniques
Web Design for Developers: A Programmer's Guide to Design Tools and Techniques

Developers don't get to spend a lot of time thinking about design, but many secretly wish they knew how to make their applications look just a little bit better. This book takes you on a journey through a web site redesign, where you'll learn the basic concepts of design, color theory, typography, and accessibility. You'll learn how to...

Google+ for Business: How Google's Social Network Changes Everything
Google+ for Business: How Google's Social Network Changes Everything

The Complete Business Guide to Google+, Today’s Hottest New Social Network!

 

Every week, millions more people sign up for Google+: Suddenly, it’s today’s hottest new social network. Google+ for Business reveals why Google+ offers...

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