cli - command line interface compiler for C++


cli [options] file


cli generates C++ implementation and documentation in various formats for a command line interface defined in the CLI language. For an input file in the form name.cli the following is generated. By default or if the --generate-cxx option is specified, the following C++ files are generated: name.hxx (header file), name.ixx (inline file, generated unless the --suppress-inline option is specified), and name.cxx (source file). If the --generate-html option is specified, then the name.html HTML documentation file is generated. If the --generate-man option is specified, then the name.1 man page file is generated. When --generate-html or --generate-man is specified, the --stdout option can be used to redirect the output to STDOUT instead of a file.