1#ifndef DISKIMAGEMANAGER_HH
2#define DISKIMAGEMANAGER_HH
9class CommandLineParser;
16 std::span<std::string>& cmdLine)
override;
17 [[nodiscard]] std::string_view
optionHelp()
const override;
19 std::span<std::string>& cmdLine)
override;
20 [[nodiscard]] std::string_view
fileTypeHelp()
const override;
25 std::span<std::string>& cmdLine);
29 char driveLetter =
'a';
DiskImageCLI(CommandLineParser &parser)
void parseOption(const std::string &option, std::span< std::string > &cmdLine) override
void parseFileType(const std::string &filename, std::span< std::string > &cmdLine) override
std::string_view fileTypeHelp() const override
std::string_view fileTypeCategoryName() const override
std::string_view optionHelp() const override
Like std::string_view, but with the extra guarantee that it refers to a zero-terminated string.
This file implemented 3 utility functions: