Reads the next non-option argument.
public string? ReadArgument()
The next non-option argument, or null if none remain.
exception | condition |
---|---|
ArgsReaderException | The next argument is an option. |
If the next argument is an option, this method throws an exception. If options can appear before normal arguments, be sure to read all options before reading any normal arguments.