1#ifndef YAZE_CLI_HANDLERS_TOOLS_GRAPHICS_DOCTOR_COMMANDS_H
2#define YAZE_CLI_HANDLERS_TOOLS_GRAPHICS_DOCTOR_COMMANDS_H
20 std::string
GetName()
const override {
return "graphics-doctor"; }
23 return "graphics-doctor [--sheet <id>] [--all] [--verbose] [--format json|text]";
36 "Validate graphics sheets, compression, and palette references.";
42 return absl::OkStatus();
The Rom class is used to load, save, and modify Rom data. This is a generic SNES ROM container and do...
Graphics doctor command for validating graphics sheets and blocksets.
bool RequiresRom() const override
Check if the command requires a loaded ROM.
std::string GetDefaultFormat() const override
Get the default output format ("json" or "text")
absl::Status ValidateArgs(const resources::ArgumentParser &parser) override
Validate command arguments.
std::string GetUsage() const override
Get the command usage string.
std::string GetOutputTitle() const override
Get the output title for formatting.
Descriptor Describe() const override
Provide metadata for TUI/help summaries.
absl::Status Execute(Rom *rom, const resources::ArgumentParser &parser, resources::OutputFormatter &formatter) override
Execute the command business logic.
std::string GetName() const override
Get the command name.
Utility for parsing common CLI argument patterns.
Base class for CLI command handlers.