1#ifndef YAZE_CLI_HANDLERS_GRAPHICS_GFX_SHEET_INVENTORY_COMMANDS_H_
2#define YAZE_CLI_HANDLERS_GRAPHICS_GFX_SHEET_INVENTORY_COMMANDS_H_
20 std::string
GetName()
const override {
return "gfx-sheet-inventory"; }
23 return "gfx-sheet-inventory [--reserved 0x7B,0x7C] [--flagged 0xD4,0xD6] "
24 "[--labels-csv <Spritesets.csv>] [--out <file.json>] "
25 "[--format json|text]";
31 return "Graphics Sheet Inventory";
40 "List graphics sheets with free 16x16 blocks, reserved sheets, and "
41 "the blocksets, spritesets, areas and rooms that use them.";
46 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 inventory of graphics sheets: storage, empty 16x16 blocks, reserved/flagged sheets,...
std::string GetOutputTitle() const override
Get the output title for formatting.
std::string GetUsage() const override
Get the command usage string.
bool RequiresRom() const override
Check if the command requires a loaded ROM.
Descriptor Describe() const override
Provide metadata for TUI/help summaries.
std::string GetDefaultFormat() const override
Get the default output format ("json" or "text")
std::string GetName() const override
Get the command name.
absl::Status Execute(Rom *rom, const resources::ArgumentParser &parser, resources::OutputFormatter &formatter) override
Execute the command business logic.
absl::Status ValidateArgs(const resources::ArgumentParser &parser) override
Validate command arguments.
Utility for parsing common CLI argument patterns.
Base class for CLI command handlers.