summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Implement scope documentation generation in HTMLBoris Kolpackov2015-10-308-345/+380
|
* Add parsing support for scope-level documentationBoris Kolpackov2015-10-2915-106/+286
|
* Regenerate man pagesBoris Kolpackov2015-10-292-0/+25
|
* Update to work with latest build2Boris Kolpackov2015-09-043-3/+8
|
* Add --generate-parse optionBoris Kolpackov2015-09-026-20/+60
| | | | | | | When specified, CLI will generate parse() functions instead of parsing constructors. This is primarily useful for being able to parse into an already initialized options class instance, for example, to implement merging/overriding.
* 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>".
* Change project_name to projectBoris Kolpackov2015-05-111-1/+1
|
* Explicitly loading of config.build is no longer necessaryBoris Kolpackov2015-05-111-2/+0
|
* Bump version to 1.2.0.a1Boris Kolpackov2015-04-026-6/+6
|
* Initial build2 supportBoris Kolpackov2015-04-025-0/+19
|
* 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-207-96/+706
| | | | | 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-208-98/+98
|
* 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-1511-29/+74
|
* Fix documentation stylesheetBoris Kolpackov2012-06-072-34/+37
|
* 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.
* Documentation updateBoris Kolpackov2012-06-032-8/+13
|
* 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-1110-34/+134
| | | | | | 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-112-4/+5
|
* Avoid unused variable warning for empty option classesBoris Kolpackov2012-05-111-5/+7
|
* Implement option class inheritanceBoris Kolpackov2012-05-1039-250/+1222
| | | | | | | 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-1014-56/+268
| | | | | | | | | | | | | | 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.
* Cosmetic changesBoris Kolpackov2012-05-101-2/+2
|
* Print usage/version information to STDOUT instead of STDERRBoris Kolpackov2012-03-083-18/+22
|
* 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-233-10/+28
|
* Add support for multiple file options and file search callbacksBoris Kolpackov2011-01-205-16/+130
|
* Use correct parser interfaceBoris Kolpackov2011-01-041-6/+12
|
* Cosmetic changesBoris Kolpackov2011-01-041-1/+3
|
* Restore deleted documentation filesBoris Kolpackov2011-01-042-0/+497
|
* Copyright updateBoris Kolpackov2011-01-04102-575/+102
|
* 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-098-40/+109
|
* Implement the --cli-namespace optionBoris Kolpackov2010-09-1412-87/+157
|