Collates Tokens into name and values, such that there is no value without an associated option name.
A class to tokenize a sequence of strings prior to option parsing.
For errors when the same option name is given for different options
For errors when parsing the value for a flag field
For errors when the same option name is not found
Stores information about the option specifications and their associated values
For errors in specifying the option name, for example missing leading dashes, nothing after the leading dashes, ...
Very simple command line parser.
Very simple command line parser.
1. Option specifications should be specified using methods in OptionLookup: OptionLookup.acceptFlag(), OptionLookup.acceptSingleValue(), OptionLookup.acceptMultipleValues(). 2. Call parse() to parse the argument strings. 3. Either (1) Query for option values in OptionLookup: OptionLookup.hasOptionValues and OptionLookup.optionValues(), or (2) traverse tuples of name and values using OptionParser().foreach() or similar methods.
See the README.md for more information on valid arguments to OptionParser.
Exception classes for various option parsing errors
For errors when specifying an option too many times
For errors when specifying too few values for an option
For errors when specifying too many values for an option
Helper methods for looking up options, including their names, types, and values
Helper methods for looking up options, including their names, types, and values
A class to tokenize a sequence of strings prior to option parsing. A series of tokens will be available. If any errors are encountered, a failure will be present instead of the token.