![]() |
ImFusion C++ SDK 4.5.0
|
Parsing of the Labels command line arguments. More...
Parsing of the Labels command line arguments.
See the help message for what the individual options do.
Classes | |
| struct | OpenProjectCommand |
| struct | AnnotateCommand |
| struct | ExportCommand |
| struct | NoCommand |
| struct | ParsedArgs |
Typedefs | |
| using | Command = std::variant<OpenProjectCommand, AnnotateCommand, ExportCommand, NoCommand> |
Functions | |
| Utils::Expected< ParsedArgs, int > | parse (int argc, char **argv) |
| Parses command-line arguments into a command. | |
| Utils::Expected< ParsedArgs, int > ImFusion::Labels::Args::parse | ( | int | argc, |
| char ** | argv ) |
Parses command-line arguments into a command.
On failure (bad args) or early exit (–help), all output is written to stdout/stderr internally and the appropriate exit code is returned as the error value.