Project Description
This library handles the common task of reading arguments from a command line and filling in the values in an object. Argument specification is inferred from the type defintion of the provided argument object. The argument specification may be overriden with attributes. Will gerneate human readable error messages as well as human readable usage message. By default messages go to the console window, though the destination may be overridden.

The library's primary goals are simplicity for the programmer and a consistent syntax for the user.


Usage:

class ApplicationArguments {
public bool lines;
public string filename;
}

...
ApplicationArguments parsedArguments = new ApplicationArguments();
if (CommandLine.Parser.ParseArgumentsWithUsage(parsedArguments))
// success
else
// parse error




Last edited Jun 3, 2008 at 1:31 AM by PeterHallam, version 2