|
ORE Studio 0.0.4
|
Command-line parser implementation using boost program options. More...
#include <parser.hpp>

Public Member Functions | |
| std::optional< options > | parse (const std::vector< std::string > &arguments, std::ostream &info, std::ostream &error) const |
Command-line parser implementation using boost program options.
Note on logging: we are NOT logging any of the exceptions to the log in this class. This is by design. The logger is only initialised after the options have been parsed; were we to log prior to this, we would dump all the messages into the cli. The output is very confusing users that are accustomed to normal cli applications.