ArgsReading is a .NET library for reading command-line arguments.



ArgsReading is considerably simpler (and less powerful) than most command-line argument libraries.

It does not support registering a list of options, data type conversion, binding options to the properties of a class, documenting options, or displaying usage. If you want those features, use a competing library such as CommandLineParser or McMaster.Extensions.CommandLineUtils.

To use this library, construct an ArgsReader with the command-line arguments, read the supported options one at a time with ReadFlag and ReadOption, read any normal arguments with ReadArgument, and finally call VerifyComplete, which throws an ArgsReaderException if any unsupported options or arguments haven’t been read.

For more information, consult the reference documentation.