Skip to content

PPBKA3M-95 - Implement user input handling

Jakub Šmrha requested to merge PPBKA3M-95 into master

Implement user input handling using CommandLineParser library. This introduces two new namespaces: MeshCompression.Benchmark.Cli.Handler and MeshCompression.Benchmark.Cli.Options.

The Options namespace contains the data representation of command options.

The Handler namespace contains the input handling and parsing. The CliInputHandler class handles the specific commands. This class should only delegate (or dispatch) work to other places, hence the TODO comments. This class also handles errors. The commands may want to inform the user of the actions taken, or whether the command resulted in some errors, and that's why the handling functions return a CommandResult.

Closes PPBKA3M-95

Merge request reports