[Mono-list] Command line processing tool in C#
Thomas R. Corbin
Thu, 8 Apr 2004 10:48:06 -0500
On Wednesday April 07, 2004 08:59 pm, Jonathan Pryor wrote:
> On Wed, 2004-04-07 at 15:15, Thomas R. Corbin wrote:
> > I've been using this tool in python:
> > http://www.python.org/doc/2.3/lib/module-optparse.html
> > And wondered if there was a similar tool in C# or for mono.
> There's a better one (in my obviously biased opinion): Mono.GetOptions.
Wow, this look REALLY nice. Thanks for pointing out.
> See the attached file for an example. It's unique in the option-parsing
> world (AFAIK) in that it uses attributes to specify the help text,
> short, and long flags that are interpreted.
> The one thing I can't figure out is how to specify "verbosity levels",
> where "-v -v -v" would be a valid set of command line arguments...
> - Jon