Boost logo

Boost :

Subject: [boost] [ANN] CLI 1.1.0 released
From: Boris Kolpackov (boris_at_[hidden])
Date: 2009-12-15 09:44:32


Seeing that I've got a lot of useful feedback for the initial release, I am
pleased to announce the availability of CLI 1.1.0.

CLI is an open-source (MIT license), cross-platform command line interface
compiler for C++. It allows you to specify the options that your program
supports, their types, default values, and documentation. This specification
can then be automatically translated to C++ classes that implement parsing
of the command line arguments and provide a convenient and type-safe
interface for accessing the extracted data.

The automatic usage and documentation generation is by far the biggest new
feature in this release. The usage information is formatted during
compilation and the documentation can be generated in the HTML and man page
formats. For an example of the HTML output, see the documentation for the
CLI compiler itself (you may also want to check the cli.1 man page and the
usage information printed by the compiler):

Other new features in this release:
  * Optional generation of modifiers in addition to accessors.
  * Support for erasing the parsed elements from the argv array.
  * Support for custom argument sources via an abstract scanner interface.
  * Support for reading command line arguments from the argv array as well
    as files specified with command line options.

For a more detailed list of new features in this release see:

More information, documentation, and source code distributions are available
from the project's web page:


Boris Kolpackov, Code Synthesis
Open-source XML data binding for C++
XML data binding for embedded systems
Command line interface to C++ compiler

Boost list run by bdawes at, gregod at, cpdaniel at, john at