10 : cmdLineParser(cmdLineParser_)
22 std::string extensionName =
getArgument(option, cmdLine);
26 if (option.size() == 5) {
39 return "Insert the extension specified in argument";
static std::string getArgument(const std::string &option, std::span< std::string > &cmdLine)
CliExtension(CommandLineParser &cmdLineParser)
std::string_view optionHelp() const override
void parseOption(const std::string &option, std::span< std::string > &cmdLine) override
void registerOption(const char *str, CLIOption &cliOption, ParsePhase phase=PHASE_LAST, unsigned length=2)
MSXMotherBoard * getMotherBoard() const
std::string loadExtension(std::string_view extensionName, std::string_view slotName)
This file implemented 3 utility functions: