1#ifndef YAZE_CLI_HANDLERS_TOOLS_ROM_DOCTOR_COMMANDS_H
2#define YAZE_CLI_HANDLERS_TOOLS_ROM_DOCTOR_COMMANDS_H
22 std::string
GetName()
const override {
return "rom-doctor"; }
25 return "Diagnose ROM file integrity, checksums, and expansion status";
29 return "rom-doctor --rom <path> [--format json|text] [--verbose] [--deep]";
39 desc.
summary =
"Diagnose ROM file integrity including checksums, "
40 "header validation, expansion status, and deep corruption "
48 return absl::OkStatus();
The Rom class is used to load, save, and modify Rom data. This is a generic SNES ROM container and do...
ROM doctor command for file integrity validation.
std::string GetOutputTitle() const override
Get the output title for formatting.
absl::Status Execute(Rom *rom, const resources::ArgumentParser &parser, resources::OutputFormatter &formatter) override
Execute the command business logic.
Descriptor Describe() const override
Provide metadata for TUI/help summaries.
std::string GetName() const override
Get the command name.
std::string GetUsage() const override
Get the command usage string.
std::string GetDescription() const
absl::Status ValidateArgs(const resources::ArgumentParser &parser) override
Validate command arguments.
std::string GetDefaultFormat() const override
Get the default output format ("json" or "text")
Utility for parsing common CLI argument patterns.
Base class for CLI command handlers.
std::string todo_reference