Randy Kramer wrote:
> In other words, if I found such a utility written in Ruby, I'd think about 
> leaving the "framework" that processes the command line parameters (like 
> --help (-h), --force (-f), --interactive (-i), --backup and stripping out the 
> code that performs the function of that utility, substituting the 
> functionality I need.  (And changing the actions for the various command line 
> parameters as appropriate.)

You're looking for optparse. I guess it's not a gem but part of the
standard library.

mortee