1#ifndef YAZE_SRC_CLI_HANDLERS_GAME_MINECART_COMMANDS_H_
2#define YAZE_SRC_CLI_HANDLERS_GAME_MINECART_COMMANDS_H_
12 std::string
GetName()
const override {
return "dungeon-minecart-audit"; }
14 return "Audit minecart-related objects/sprites/collision in dungeon rooms";
17 return "dungeon-minecart-audit [--room <room_id> | --rooms <hex,hex,...> | "
18 "--all] [--only-issues] [--only-matches] [--include-track-objects] "
19 "[--track-object-id <hex>] [--minecart-sprite-id <hex>] "
20 "[--format <json|text>]";
34 std::string
GetName()
const override {
return "dungeon-minecart-map"; }
36 return "Enumerate track tile positions and types from custom collision "
40 return "dungeon-minecart-map --room <hex> [--format <json|text>]";
The Rom class is used to load, save, and modify Rom data. This is a generic SNES ROM container and do...
std::string GetDescription() const
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.
absl::Status ValidateArgs(const resources::ArgumentParser &parser) override
Validate command arguments.
std::string GetUsage() const override
Get the command usage string.
absl::Status ValidateArgs(const resources::ArgumentParser &parser) override
Validate command arguments.
absl::Status Execute(Rom *rom, const resources::ArgumentParser &parser, resources::OutputFormatter &formatter) override
Execute the command business logic.
std::string GetDescription() const
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.
absl::Status RequireArgs(const std::vector< std::string > &required) const
Validate that required arguments are present.
Base class for CLI command handlers.