NeoticTools.CommandLineParser is a .Net C# class library that simplifies command line
string parsing and displaying command line usage text. It is a simple
to use standard parser for reuse in many applications.
Features
Command line switches are declared using attributes on application
properties.
Aliases.
-, & / switch prefixes.
String, Boolean, Enum, and Integer switches.
Extensible for other switch types.
Reports unused portions of command string.
Parses Win32 and Forms style command strings.
Help usage string generation.
Explicit set switches report string generation.
Code Example
Declare application switches by adding attributes to application
properties.
The following code fragment declares application command line
switches:
"Help" with aliases; "h", & "?".
"Source" with aliases; "s", &
"input".
Command switch prefixes may be -, --, or /. So valid help
switches are -h, --h, or /h.