From: Brett Williams Date: 2004-08-24T06:45:45+09:00 Subject: Re: optparse [feature request: subcommand support] Jim Weirich wrote: > Brett Williams said: > [...] > >>The feature is the ability to do what I call CVS-style subcommands, i.e.: > > [...] > >>Does this sound reasonable? Is there anyone else who'd like this kind of >>thing? Or am I on my own? > > > RubyGems uses CVS style commands, so it would have been useful there. > > One question: Is it worth loading up optparse with this functionality, or > does it make sense to put it in a different object? It should be easy to make as a wrapper around OptionParser objects (the same way my current implementation is a wrapper around Getoptlong objects). It seems rather simple to be yet another library dependency to add, but perhaps it is not of wide enough interest to justify integrating in to the standard.