1#ifndef YAZE_CLI_HANDLERS_TOOLS_OVERWORLD_VALIDATE_COMMANDS_H
2#define YAZE_CLI_HANDLERS_TOOLS_OVERWORLD_VALIDATE_COMMANDS_H
19 std::string
GetName()
const override {
return "overworld-validate"; }
22 return "Validate overworld map32 pointers and decompression";
26 return "overworld-validate --rom <path> [--include-tail] [--check-tile16] "
27 "[--format json|text] [--verbose]";
32 std::string
GetOutputTitle()
const override {
return "Overworld Validation"; }
37 desc.
summary =
"Validate map32 pointer tables and decompression for all "
38 "overworld maps. Detects corruption and pointer issues.";
45 return absl::OkStatus();
The Rom class is used to load, save, and modify Rom data. This is a generic SNES ROM container and do...
Validate overworld map32 pointers and decompression.
absl::Status Execute(Rom *rom, const resources::ArgumentParser &parser, resources::OutputFormatter &formatter) override
Execute the command business logic.
std::string GetUsage() const override
Get the command usage string.
std::string GetDescription() const
std::string GetOutputTitle() const override
Get the output title for formatting.
Descriptor Describe() const override
Provide metadata for TUI/help summaries.
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 GetName() const override
Get the command name.
Utility for parsing common CLI argument patterns.
Base class for CLI command handlers.
Namespace for the command line interface.
std::string todo_reference