1#ifndef YAZE_SRC_CLI_HANDLERS_ROM_PROJECT_PLAN_COMMANDS_H_
2#define YAZE_SRC_CLI_HANDLERS_ROM_PROJECT_PLAN_COMMANDS_H_
12 std::string
GetName()
const override {
return "plan-read"; }
14 return "plan-read (--plan <plan.json> | --project <file.yaze>) "
15 "[--format <json|text>]";
18 Descriptor
Describe()
const override;
29 std::string
GetName()
const override {
return "plan-agent-apply"; }
31 return "plan-agent-apply (--plan <plan.json> | --project <file.yaze>) "
32 "--update <update.json> [--dry-run] [--format <json|text>]";
35 Descriptor
Describe()
const override;
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.
Descriptor Describe() const override
Provide metadata for TUI/help summaries.
absl::Status ValidateArgs(const resources::ArgumentParser &parser) override
Validate command arguments.
std::string GetUsage() const override
Get the command usage string.
absl::Status Execute(Rom *rom, const resources::ArgumentParser &parser, resources::OutputFormatter &formatter) override
Execute the command business logic.
bool RequiresRom() const override
Check if the command requires a loaded ROM.
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.
std::string GetUsage() const override
Get the command usage string.
Descriptor Describe() const override
Provide metadata for TUI/help summaries.
bool RequiresRom() const override
Check if the command requires a loaded ROM.
Utility for parsing common CLI argument patterns.
Base class for CLI command handlers.