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

Probabilistic Reasoning in Multiagent Systems: A Graphical Models Approach
Probabilistic Reasoning in Multiagent Systems: A Graphical Models Approach
This book investigates the opportunities in building intelligent decision support systems offered by multiagent distributed probabilistic reasoning.

Probabilistic reasoning with graphical models, also known as Bayesian networks or belief networks, has become an active field of research and practice in artificial intelligence, operations...

Severe Injuries to the Limbs: Staged Treatment
Severe Injuries to the Limbs: Staged Treatment

This book details the protocol of staged external fixation developed by the authors: primary temporary unilateral tubular stabilization followed by definitive circular Ilizarov (hybrid) fixation. Coverage explains and fully illustrates the rationale and advantages of a logical progression of surgical steps. The book draws from an archive of...

Accessible Technology in Today's Business (Cpg-Other)
Accessible Technology in Today's Business (Cpg-Other)
Microsoft is dedicated to developing technology that is useable and accessible to all. In ACCESSIBLE TECHNOLOGY IN TODAY'S BUSINESS, business managers discover how to utilize the built-in accessibility features in Microsoft products to meet the needs and preferences of people with disabilities. The book identifies the assistive technology features...

Windows Server 2012 R2 Inside Out Volume 1: Configuration, Storage, & Essentials
Windows Server 2012 R2 Inside Out Volume 1: Configuration, Storage, & Essentials

This supremely organized reference packs hundreds of timesaving solutions, troubleshooting tips, and workarounds for Windows Server 2012 R2 - with a focus on configuration, storage, and essential administrative tasks.

Coverage includes:

  • Deployment
  • Boot configuration
  • ...
Concepts of Modern Mathematics
Concepts of Modern Mathematics
Concepts of Modern Mathematics began as an extramural course nowadays we would say 'continuing education—taught at Warwick University in 1971. Several dozen citizens of Coventry, ranging from school students to a retired automotive engineer, gathered for two hours every week to grapple with what was then called...
Neurodegenerative Diseases and Metal Ions: Metal Ions in Life Sciences
Neurodegenerative Diseases and Metal Ions: Metal Ions in Life Sciences

About the Series...

Metal Ions in Life Sciences links coordination chemistry and biochemistry in their widest sense and thus increases our understanding of the relationship between the chemistry of metals and life processes. The series reflects the interdisciplinary nature of Biological Inorganic...

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