RubyConf India 2012

Using Ruby to Craft and Test Beautiful Command Line Applications
This presentation, by Shishir Das, Nikhil Mungel , is licensed under a Creative Commons Attribution ShareAlike 3.0
80x15

In any *nix system, the command line is the standard method of reliably interacting with the system. We are used to the exhaustive, fast and predictable nature of core-utils as well as the shell itself.

Yet most user-space CLI tools leave much to be desired in terms of the user experience design and playing nicely with other CLI tools.

Ruby's powerful abilities of dealing with textual data as well as its ability to directly interface with POSIX libraries and the underlying system itself makes it a great candidate for writing CLI apps.

Drawing from our experiences, we will discuss -- how to model CLI apps in Ruby; how to test CLI apps; standards to follow while accepting commands, arguments and options; making CLI apps fit nicely into the *nix ecosystem; and delighting users with self-documented, easy-to-use, powerful CLI apps.

Conference Videos


Version: 1.0 (539) by Coby Randquist on 2014-09-06