This is the reference documentation of sub-namespace cli of the ALib C++ Library, which holds types of library module ALib CLI.
Besides this reference documentation, further documentation and source code samples for this module is provided with ALib Module CLI - Programmer's Manual.
Classes | |
| class | Cli |
| class | CLIUtil |
| struct | Command |
| class | CommandDecl |
| class | CommandLine |
| struct | ERCommandDecl |
| struct | ERExitCodeDecl |
| struct | EROptionDecl |
| struct | ERParameterDecl |
| class | ExitCodeDecl |
| struct | Option |
| class | OptionDecl |
| struct | Parameter |
| class | ParameterDecl |
| struct | Parsed |
Enumerations | |
| enum | DryRunModes { Off, CLIArgs, CLIDeclarations, Application } |
| enum | Exceptions { NoCommandGiven = 1, UnknownCommand = 2, ParsingOptions =10, ParsingCommand =20, MissingOptionValue =11, IllegalOptionNameContinuation =12, MissingParameterValue =21, END_OF_ENUM } |
|
strong |
Dry run modes.
|
strong |
Exceptions of module aworx::lib::cli. As usual with class Exception, some of the exceptions are "inner exceptions" that are caught internally and re-thrown with more information and a different exception code.
The in this respect "external" exceptions that have to be caught by users of the library, are: