18 auto cd = std::string_view(option).substr(1);
19 std::string filename =
getArgument(option, cmdLine);
28 return "Use iso image in argument for the CD-ROM extension";
std::string_view optionHelp() const override
void parseOption(const std::string &option, std::span< std::string > &cmdLine) override
CDImageCLI(CommandLineParser &parser)
static std::string getArgument(const std::string &option, std::span< std::string > &cmdLine)
void registerOption(const char *str, CLIOption &cliOption, ParsePhase phase=PHASE_LAST, unsigned length=2)
Interpreter & getInterpreter() const
bool hasCommand(zstring_view name) const
TclObject executeCommand(Interpreter &interp, bool compile=false)
Interpret this TclObject as a command and execute it.
This file implemented 3 utility functions:
TclObject makeTclList(Args &&... args)