1#ifndef YAZE_CLI_HANDLERS_TOOLS_OVERWORLD_ALLOCATION_COMMANDS_H
2#define YAZE_CLI_HANDLERS_TOOLS_OVERWORLD_ALLOCATION_COMMANDS_H
20 std::string
GetName()
const override {
return "overworld-allocation"; }
23 return "overworld-allocation --rom <path> [--project <file.yaze>] "
24 "[--tail-check] [--symbols <file.sym>] [--format json|text]";
29 std::string
GetOutputTitle()
const override {
return "Overworld Allocation"; }
35 "Map overworld area IDs $00-$BF (used/free, parent, size, map "
36 "pointer, per-area table coverage) and check whether "
37 "TailMapExpansion.asm is safe for this ROM.";
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...
Read-only overworld area allocation map ($00-$BF) with an optional TailMapExpansion....
absl::Status ValidateArgs(const resources::ArgumentParser &parser) override
Validate command arguments.
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 GetOutputTitle() const override
Get the output title for formatting.
std::string GetDefaultFormat() const override
Get the default output format ("json" or "text")
std::string GetUsage() const override
Get the command usage string.
std::string GetName() const override
Get the command name.
Utility for parsing common CLI argument patterns.
Base class for CLI command handlers.