1#ifndef YAZE_SRC_CLI_HANDLERS_ROM_PROJECT_BUNDLE_ARCHIVE_COMMANDS_H_
2#define YAZE_SRC_CLI_HANDLERS_ROM_PROJECT_BUNDLE_ARCHIVE_COMMANDS_H_
14 std::string
GetName()
const override {
return "project-bundle-pack"; }
16 return "project-bundle-pack --project <path.yazeproj> --out <archive.zip> "
17 "[--overwrite] [--format <json|text>]";
20 Descriptor
Describe()
const override;
33 std::string
GetName()
const override {
return "project-bundle-unpack"; }
35 return "project-bundle-unpack --archive <archive.zip> "
36 "--out <directory> [--overwrite] [--dry-run] "
37 "[--keep-partial-output] [--format <json|text>]";
40 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...
bool RequiresRom() const override
Check if the command requires a loaded ROM.
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.
std::string GetUsage() const override
Get the command usage string.
Descriptor Describe() const override
Provide metadata for TUI/help summaries.
absl::Status ValidateArgs(const resources::ArgumentParser &parser) override
Validate command arguments.
Descriptor Describe() const override
Provide metadata for TUI/help summaries.
absl::Status ValidateArgs(const resources::ArgumentParser &parser) override
Validate command arguments.
std::string GetName() const override
Get the command name.
bool RequiresRom() const override
Check if the command requires a loaded ROM.
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.
Utility for parsing common CLI argument patterns.
Base class for CLI command handlers.