Boost Users :
Subject: [Boost-users] [ANN] CLI 1.1.0 released
From: Boris Kolpackov (boris_at_[hidden])
Date: 2009-12-15 09:50:11
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 http://codesynthesis.com/~boris/blog Open-source XML data binding for C++ http://codesynthesis.com/products/xsd XML data binding for embedded systems http://codesynthesis.com/products/xsde Command line interface to C++ compiler http://codesynthesis.com/projects/cli
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net