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

Learn Design for iOS Development
Learn Design for iOS Development

Learn Design for iOS Development is for you if you're an iOS developer and you want to design your own apps to look great and be in tune with the latest Apple guidelines. You'll learn how to design your apps to work with the exciting new iOS 7 look and feel, which your users expect within their latest apps.
...

Chemometrics: From Basics to Wavelet Transform (Chemical Analysis: A Series of Monographs on Analytical Chemistry and Its Applications)
Chemometrics: From Basics to Wavelet Transform (Chemical Analysis: A Series of Monographs on Analytical Chemistry and Its Applications)
All the tools chemists need to analyze chemical data and produce more useful information

The statistical and mathematical methods of chemometrics present a wide array of modeling and processing tools for maximizing useful information from experimental data. These methods both reduce time spent in the laboratory and allow researchers to extract...

Plasticity in Plant-Growth-Promoting and Phytopathogenic Bacteria
Plasticity in Plant-Growth-Promoting and Phytopathogenic Bacteria

Plasticity in Plant-Growth-Promoting and Phytopathogenic Bacteria brings together the expertise of a panel of researchers from around the world to provide comprehensive up-to-date reviews on the most interesting aspects of genomic and phenotypic plasticity in plant-beneficial and phytopathogenic bacteria.

The book covers...


Serial Killer Investigations
Serial Killer Investigations

In 1977, FBI Special Agent Robert Ressler first used the term ‘serial killer’ after a visit to Bramshill Police Academy, near London, where someone referred to a ‘serial burglar’. The inspired coinage was soon in general use to describe killers such as necrophile Ed Kemper (ten victims), schizophrenic Herb Mullin (14),...

Now You're Thinking!: Change Your Thinking...Transform Your Life
Now You're Thinking!: Change Your Thinking...Transform Your Life

If you can change the way you think, you can change the world.  That’s the theme of Now You’re Thinking! as it tells the story of how a 2-year old Iraqi girl’s life was saved through determination, courage, and critical thinking.  The book begins with the heroic story of how a Marine battalion...

The AWK Programming Language
The AWK Programming Language

Computer users spend a lot of time doing simple, mechanical data manipulation - changing the format of data, checking its validity, finding items with some property, adding up numbers, printing reports, and the like. All of these jobs ought to be mechanized, but it's a real nuisance to have to write a specialpurpose program in a...

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