> On Aug 15, 2006, at 14:45, benjohn / fysh.org wrote: > >> >> I've been writing a few unix scripts recently. I'm very much >> feeling the >> need for a framework that will let me build scripts and not worry >> about >> such common functionality as: >> >> * providing parameters through the command line and config files, or >> falling back to program specified defaults. >> * getting help on command usage (perhaps via embedded rdoc). >> >> I would imagine there is a developed framework out there to do this >> kind >> of thing? > > The optparse library is distributed along with Ruby, and will > probably do a large part of what you're after. And don't forget > about ARGF. :) Thanks for the ARGF pointer. Optparse is the right kind of thing to be using, but I was hoping for more. Cheers, Benjohn