|
CPGen
C++ project generator
|
Command-line argument parser that produces a typed project configuration. More...


Go to the source code of this file.
Classes | |
| class | CLI |
Stateful command-line parser that converts argv into a Config. More... | |
Typedefs | |
| using | Config = std::variant< ProjectConfig, bool > |
| Result type of CLI::parse. | |
Command-line argument parser that produces a typed project configuration.
Typical usage:
Result type of CLI::parse.
ProjectConfig — when the user supplied project flags; the caller should run the resolver and generators immediately.bool (true) — when -u / --tui was supplied; the caller should launch the interactive TUI instead.