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

iPod + iTunes for Windows and Mac in a Snap (2nd Edition) (Sams Teach Yourself)
iPod + iTunes for Windows and Mac in a Snap (2nd Edition) (Sams Teach Yourself)
iPod enthusiasts, this book is for you. iPod + iTunes for Windows and Mac in a Snap, Second Edition has been updated to cover the latest version of iTunes and the entire family of iPods, including the new Nano, and podcast and video download features. Organized into a series of well-organized,...
Lossy Image Compression: Domain Decomposition-Based Algorithms (SpringerBriefs in Computer Science)
Lossy Image Compression: Domain Decomposition-Based Algorithms (SpringerBriefs in Computer Science)

Image data compression is concerned with minimization of the number of information carrying units used to represent an image. Image compression schemes can be divided into two broad classes: lossless compression schemes and lossy compression schemes. Lossless compression techniques, as their name implies aim at exact reconstruction...

Study Guide and Skills Performance Checklists for Fundamentals of Nursing
Study Guide and Skills Performance Checklists for Fundamentals of Nursing
Strengthen your understanding of nursing fundamentals with comprehensive review and practice

Reinforce what you've learned in Fundamentals of Nursing, 7th Edition with this detailed, chapter-by-chapter review guide. Each chapter provides exercises that challenge your understanding of key concepts and performance checklists to
...

Enterprise Security with EJB and CORBA(r)
Enterprise Security with EJB and CORBA(r)
"Leveraging their strong implemention and standards committee experience, the authors have delivered the definitive guide to enterprise distributed object security."–Wing K. Lee, Sprint

Enterprise Security with EJB and CORBA

With e-business and distributed components comes the need for a bold new approach to...

Neutron Applications in Earth, Energy and Environmental Sciences (Neutron Scattering Applications and Techniques)
Neutron Applications in Earth, Energy and Environmental Sciences (Neutron Scattering Applications and Techniques)

Neutron Applications in Earth, Energy and Environmental Sciences offers a comprehensive overview of the wide ranging applications of neutron scattering techniques to elucidate the fundamental materials properties at the nano-, micro- and meso-scale, which underpin research in the related fields of Earth, Energy and Environmental...

2012: The Return of Quetzalcoatl
2012: The Return of Quetzalcoatl

The acclaimed metaphysical epic that binds together the cosmological phenomena of our time, ranging from crop circles to quantum theory to the resurgence of psychedelic drugs, to support the contention of the Mayan calendar that the year 2012 portends a global shift-in consciousness, culture, and way of living-of unprecedented...

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