command line - C++ implementation

Working on cs3web, a C++ application to assemble web pages, lead to a need to the need to parse command line options. Although cs3web works off compiled in settings, it also has the ability to do certain functions such as editing a page and so it requires the ability to set specific values, such as the database and page to edit. Although there are many (standard??) methods to parse command line options, it seemed like a decent small class to code so I could get a few features that I wanted such as:

  • Simple code
  • Simple to use
  • Uses Exceptions

Please first be familiar with the information and license information as detailed in the disclaimer page and then read the documentation page for usage and other information and see the download page for obtaining the source code.