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

Official Introduction to the Itil Service Lifecycle (Official Introduction)
Official Introduction to the Itil Service Lifecycle (Official Introduction)
This book is dedicated to the people who practise IT service management. Through their knowledge and experiences we have shaped the present and can see further toward the future along our journey to service excellence.

Over the past two decades the world of IT has changed dramatically. The IT Infrastructure Library framework has grown
...
Fluent C# (Other Sams)
Fluent C# (Other Sams)

This book doesn’t look much like other technical tutorials, does it? Well, for once, looks aren’t deceiving, because Fluent Learning books aren’t much like other technical tutorials. We don’t want to teach you things.

We want to help you learn things. We’ve done a lot of research...

Exam Ref 70-483: Programming in C#
Exam Ref 70-483: Programming in C#
The Microsoft 70-483 exam focuses on a broad range of topics that you can use in your work as a C# developer. This book helps you understand both the basic and the more advanced areas of the C# language. It shows you how to use the C# language to create powerful software applications. This book also shows you how to...

Architecting the Cloud: Design Decisions for Cloud Computing Service Models (SaaS, PaaS, and IaaS)
Architecting the Cloud: Design Decisions for Cloud Computing Service Models (SaaS, PaaS, and IaaS)

An expert guide to selecting the right cloud service model for your business

Cloud computing is all the rage, allowing for the delivery of computing and storage capacity to a diverse community of end-recipients. However, before you can decide on a cloud model, you need to determine what the ideal cloud service model is for...

The Adult Psychotherapy Progress Notes Planner
The Adult Psychotherapy Progress Notes Planner

Save hours of time-consuming paperwork with the bestselling treatment planning system The Adult Psychotherapy Progress Notes Planner, Fifth Edition contains complete prewritten session and patient presentation descriptions for each behavioral problem in The Complete Adult Psychotherapy Treatment Planner, Fifth Edition. The prewritten progress...

VBA and Macros: Microsoft Excel 2010 (MrExcel Library)
VBA and Macros: Microsoft Excel 2010 (MrExcel Library)

Use Excel 2010 VBA and macros to automate virtually any routine task, and save yourself hours, days, maybe even weeks. Then learn how to make Excel do things you thought were simply impossible! This book reveals scripting techniques you won’t find anywhere else and shows you how to create automated reports that are...

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