|
AsmGrader 0.0.0
|
Just a wrapper around argparse for now. More...
#include <cl_args.hpp>
Public Member Functions | |
| CommandLineArgs (std::span< const char * > args) | |
| Expected< ProgramOptions, std::string > | parse () |
| Returns: Success - Expected<ProgramOptions> with parsed program options structure Failure - Expected<std::string> with failure essage. | |
| std::string | usage_message () const |
| std::string | help_message () const |
| std::optional< ProgramOptions > | get_options () const |
Just a wrapper around argparse for now.
|
explicit |
| std::optional< ProgramOptions > asmgrader::CommandLineArgs::get_options | ( | ) | const |
| std::string asmgrader::CommandLineArgs::help_message | ( | ) | const |
| Expected< ProgramOptions, std::string > asmgrader::CommandLineArgs::parse | ( | ) |
Returns: Success - Expected<ProgramOptions> with parsed program options structure Failure - Expected<std::string> with failure essage.
| std::string asmgrader::CommandLineArgs::usage_message | ( | ) | const |