1#ifndef YAZE_SRC_CLI_HANDLERS_DUNGEON_GROUP_COMMANDS_H_
2#define YAZE_SRC_CLI_HANDLERS_DUNGEON_GROUP_COMMANDS_H_
6#include "absl/status/status.h"
22 std::string
GetName()
const {
return "dungeon-group"; }
24 return "Organize and list rooms grouped by dungeon ID";
27 return "dungeon-group --rom <path> [--dungeon <id>] [--list] "
28 "[--format <json|text>]";
34 return absl::OkStatus();
The Rom class is used to load, save, and modify Rom data. This is a generic SNES ROM container and do...
Command handler for organizing rooms by dungeon ID.
absl::Status ValidateArgs(const resources::ArgumentParser &) override
Validate command arguments.
std::string GetName() const
Get the command name.
std::string GetUsage() const
Get the command usage string.
std::string GetDescription() const
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.