#include <cstdint>#include <exception>#include <optional>#include <string>#include <vector>
Classes | |
| class | Arguments |
| Parsed commandline arguments. More... | |
| class | UnknownOption |
| Unknown option argument. More... | |
| class | RepeatedOption |
| Option repeated too many times. More... | |
| class | LeftoverPositionalArgument |
| Too many positional arguments. More... | |
Functions | |
| Arguments | parse_arguments (const std::vector< std::string > &arguments) |
| Parse commandline arguments. | |
|
export |
Parse commandline arguments.
| arguments | Arguments passed to the program (argv), as a list of strings. |
| UnknownOption | Unknown option argument. |
| RepeatedOption | Option repeated too many times. |
| LeftoverPositionalArgument | Too many positional arguments. |