|
cli20 0.1.2
A C++20 typed-schema command-line parser
|
Actions that control the parser's control flow (help, exit). More...
Classes | |
| struct | Custom |
| Wraps a user-defined callable as a non-terminal action pipeline step. More... | |
| struct | PrintHelp |
| Wraps the current value in a HelpRequested<T> sentinel type. More... | |
| struct | ExitSuccess |
| Terminates the pipeline by returning a ParseError with code exit_success (or help_requested when preceded by PrintHelp). More... | |
Variables | |
| constexpr auto | print_help = Action<PrintHelp{}>{} |
| constexpr auto | exit_success = Action<ExitSuccess{}>{} |
| template<auto Fn> | |
| constexpr auto | custom = Action<Custom<Fn>{}>{} |
Actions that control the parser's control flow (help, exit).
|
inlineconstexpr |