summaryrefslogtreecommitdiffstats
path: root/cli
Commit message (Collapse)AuthorAgeFilesLines
...
* Add --short-usage optionBoris Kolpackov2015-09-028-41/+171
| | | | | When combined with --long-usage, it makes CLI generate both short and long usage printing code.
* Allow specification of argument documentation for flagsBoris Kolpackov2015-09-013-7/+7
| | | | | | | | If all three documentation strings are specified for a bool option, then the usage, html, and man documentation will include the argument documentation (first string), just like for non-flag options. This is primarily useful for using options to handle commands where you may want to end up with something like "help [<options>] <command>".
* Bump version to 1.2.0.a1Boris Kolpackov2015-04-021-1/+1
|
* Initial build2 supportBoris Kolpackov2015-04-021-0/+8
|
* Add C++ modeline (-*- C++ -*-) to generated filesBoris Kolpackov2015-04-021-1/+3
|
* Cosmetic changeBoris Kolpackov2015-04-021-1/+1
|
* Get rid of GCC warningMichael Shepanski2014-10-131-2/+2
|
* Fix ambiguous lookup bugBoris Kolpackov2012-06-291-1/+1
|
* Generate "direct access" modifier in addition to "setter"Boris Kolpackov2012-06-212-0/+14
|
* Make default constructor public for non-abstract classesBoris Kolpackov2012-06-211-3/+7
|
* Add ability to specify prologues/epilogues for generated C++ filesBoris Kolpackov2012-06-205-84/+582
| | | | | Also add options to specify text prologues/epilogues in addition to files for generated man and html files.
* Rename --*logue options to --*logue-fileBoris Kolpackov2012-06-205-86/+86
|
* Add forward declarations for parser to allow custom specializationsBoris Kolpackov2012-06-201-0/+7
|
* Add support for specifying output stream type (--stream-type)Boris Kolpackov2012-06-159-29/+66
|
* Remove unnecessary default: statementBoris Kolpackov2012-06-041-2/+0
|
* Fix bug in argument formattingBoris Kolpackov2012-06-041-0/+5
|
* Use formatted string when calculating option lengthBoris Kolpackov2012-06-031-3/+4
|
* Generate certain template runtime code in every source fileBoris Kolpackov2012-06-033-381/+389
| | | | | | | This is needed if the cli runtime is included from another file instead of being generated. The alternative would be to move that code to the header file. However, that would also require including a lot of standard headers in the generated header file.
* Fix bug in trailing space handling in documentation stringsBoris Kolpackov2012-05-111-4/+4
|
* Add support for specifying multiple classes with --class optionBoris Kolpackov2012-05-116-34/+68
|
* Move lookup to semantic graph from parserBoris Kolpackov2012-05-114-125/+131
|
* Generate all options for all classes in single HTML definition listBoris Kolpackov2012-05-111-4/+4
| | | | | This way we won't have any irregular gaps is the option list is assembled from multiple classes.
* Add support for -I optionBoris Kolpackov2012-05-117-33/+125
| | | | | | Now quote-included ("") option files are searched for relative to the including file while bracket-included (<>) ones are search in the directories specified with -I.
* Fix lookup bugBoris Kolpackov2012-05-111-1/+1
|
* Avoid unused variable warning for empty option classesBoris Kolpackov2012-05-111-5/+7
|
* Implement option class inheritanceBoris Kolpackov2012-05-1019-239/+994
| | | | | | | For now multiple, non-virtual inheritance is supported. An option class can now also be declared abstract using the class c = 0 {...}; syntax. New option, --exclude-base, controls whether base class information is present in usage and documentation.
* Add support for options file inclusionBoris Kolpackov2012-05-107-49/+237
| | | | | | | | | | | | | | New include-path prefixes, c++: and cli:, are now recognized (e.g., include <cli:foo>;). Without a prefix, the include declarations is considered to be c++-include unless the path ends with the .cli extension. The cli-included files are loaded and parsed. Currently, only inclusion relative to the current file is supported. Duplicate inclusions are detected and ignored based on the absolute filesystem path. If a file cli-includes another file, then the runtime code is assumed to come from the included file and is not generated.
* Print usage/version information to STDOUT instead of STDERRBoris Kolpackov2012-03-081-4/+8
|
* Add missing breakBoris Kolpackov2011-12-141-0/+1
|
* Assume we have 78 character per line instead of 79 for Windows portabilityBoris Kolpackov2011-11-181-1/+5
|
* Store option names as std::string instead of const char*Boris Kolpackov2011-01-231-3/+3
| | | | | | | With the scanner interface we now cannot assume that the returned value will still be valid after another call to more(). This was the case when we were always scanning argv/argc but now that we have the file scanner, we have to be careful.
* Allow the options file search function to ignore the fileBoris Kolpackov2011-01-232-7/+21
|
* Add support for multiple file options and file search callbacksBoris Kolpackov2011-01-203-11/+100
|
* Use correct parser interfaceBoris Kolpackov2011-01-041-6/+12
|
* Cosmetic changesBoris Kolpackov2011-01-041-1/+3
|
* Copyright updateBoris Kolpackov2011-01-0457-58/+58
|
* Add option description that can be examined at runtime.Boris Kolpackov2010-11-199-4/+273
| | | | New option: --generate-description.
* Add support for suppressing documentation for undocumented optionsBoris Kolpackov2010-11-097-40/+106
|
* Implement the --cli-namespace optionBoris Kolpackov2010-09-1411-87/+154
|
* Pass missing argument in vector and set parsersBoris Kolpackov2010-08-031-2/+4
|
* Cosmetic changesBoris Kolpackov2010-06-041-2/+2
|
* Add support for single quotes in option filesBoris Kolpackov2010-06-043-8/+10
|
* Update description of the --options-file optionBoris Kolpackov2010-06-024-8/+81
|
* Add support for quoting in option file scannerBoris Kolpackov2010-06-023-4/+74
|
* Implement generation of specifier functions (--generate-specifier)Boris Kolpackov2010-06-0212-21/+178
| | | | | These functions determine whether the option was specified on the command line. New test: specifier.
* Add cli options instead of overriding themBoris Kolpackov2010-06-021-1/+1
|
* Cosmetic changeBoris Kolpackov2010-03-301-1/+0
|
* Update copyrightBoris Kolpackov2010-01-0157-58/+58
|
* Bump version to 1.1.0Boris Kolpackov2009-12-131-1/+1
|
* Workaround for older g++ versionsBoris Kolpackov2009-12-131-1/+1
|