[Mono-list] C# command line parsing library

Jonathan Pryor jonpryor at vt.edu
Thu Jan 4 06:38:15 EST 2007

On Thu, 2007-01-04 at 11:02 +0000, Chris Seaton wrote:
> Is there a library for parsing command lines in C#? Or do any C#  
> applications have a reusable class for parsing command lines. I'm  
> looking for something where you specify flags and default values and  
> things and gets values from the command line. Like gopt or something.

Mono.GetOptions, available since before Mono 1.0:


Many mono utilities use it, such as monodocer:


Search for "class Opts" and "opts.ProcessArgs(args)" for example usage.

 - Jon

More information about the Mono-list mailing list