1#ifndef YAZE_SRC_CLI_HANDLERS_GAME_OVERWORLD_RENDER_COMMANDS_H_
2#define YAZE_SRC_CLI_HANDLERS_GAME_OVERWORLD_RENDER_COMMANDS_H_
24 std::string
GetName()
const override {
return "overworld-render"; }
26 return "Render an overworld area (with overlays) to PNG";
29 return "overworld-render --screen=<hex> --out=<path.png> "
30 "[--overlays=sprites,entrances,exits,holes,items,grid,all] "
31 "[--phase=0|1|2] [--scale=<float>] [--area-overlay=on|off]";
The Rom class is used to load, save, and modify Rom data. This is a generic SNES ROM container and do...
std::string GetName() const override
Get the command name.
absl::Status ValidateArgs(const resources::ArgumentParser &parser) override
Validate command arguments.
std::string GetDescription() const
std::string GetUsage() const override
Get the command usage string.
absl::Status ExecuteWithContext(Rom *rom, const resources::ArgumentParser &parser, resources::OutputFormatter &formatter, const resources::CommandInvocationContext &invocation_context) override
Execute with immutable, invocation-scoped ROM path identity.
std::string GetOutputTitle() const override
Get the output title for formatting.
std::string GetDefaultFormat() const override
Get the default output format ("json" or "text")
absl::Status Execute(Rom *rom, const resources::ArgumentParser &parser, resources::OutputFormatter &formatter) override
Execute the command business logic.
Utility for parsing common CLI argument patterns.
Base class for CLI command handlers.