yatesParse 0.2 review

Download
by rbytes.net on

yatesParse is a C++ library for parsing and handling command line arguments

License: GPL (GNU General Public License)
File size: 94K
Developer: Andrew Yates
0 stars award from rbytes.net

yatesParse is a C++ library for parsing and handling command line arguments. It can handle normal arguments (foo --help, foo -h, etc) and arguments with values (foo --file evilplans.txt, foo -f evilplans.txt, etc).

A small example program using yatesParse is available in SVN. Complete Doxygen docs are available in both the Docs section of the yatesParse website, and in SVN.

A brief explanation of how yatesParse works:

Command line arguments are added by calling the add_option function, the user must specify the option to add and the address of the function to call when that argument has been detected.

When the parsing function detects an argument, a function of the user's choice is called and, if the argument takes a value, the value is passed to the function.

yatesParse can also generate output for --help from the options added and program information that the user specifies.

yatesParse 0.2 keywords