1#ifndef YAZE_SRC_CLI_HANDLERS_PROJECT_COMMANDS_H_
2#define YAZE_SRC_CLI_HANDLERS_PROJECT_COMMANDS_H_
15 std::string
GetName()
const {
return "project-init"; }
16 std::string
GetDescription()
const {
return "Initialize a new Yaze project"; }
17 std::string
GetUsage()
const {
return "project-init --project_name <name>"; }
32 std::string
GetName()
const {
return "project-build"; }
34 std::string
GetUsage()
const {
return "project-build"; }
37 return absl::OkStatus();
The Rom class is used to load, save, and modify Rom data.
Command handler for building projects.
std::string GetName() const
Get the command name.
std::string GetDescription() const
absl::Status ValidateArgs(const resources::ArgumentParser &parser) override
Validate command arguments.
std::string GetUsage() const
Get the command usage string.
absl::Status Execute(Rom *rom, const resources::ArgumentParser &parser, resources::OutputFormatter &formatter) override
Execute the command business logic.
Command handler for initializing new projects.
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 GetUsage() const
Get the command usage string.
std::string GetName() const
Get the command name.
std::string GetDescription() const
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.
Main namespace for the application.