yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::cli::handlers Namespace Reference

Namespaces

namespace  anonymous_namespace{command_handlers.cc}
 
namespace  anonymous_namespace{emulator_commands.cc}
 
namespace  anonymous_namespace{todo_commands.cc}
 

Classes

class  DialogueListCommandHandler
 Command handler for listing dialogue messages. More...
 
class  DialogueReadCommandHandler
 Command handler for reading dialogue messages. More...
 
class  DialogueSearchCommandHandler
 Command handler for searching dialogue messages. More...
 
class  DungeonDescribeRoomCommandHandler
 Command handler for describing a dungeon room. More...
 
class  DungeonExportRoomCommandHandler
 Command handler for exporting room data. More...
 
class  DungeonGetRoomTilesCommandHandler
 Command handler for getting room tiles. More...
 
class  DungeonListObjectsCommandHandler
 Command handler for listing objects in a room. More...
 
class  DungeonListSpritesCommandHandler
 Command handler for listing sprites in a dungeon room. More...
 
class  DungeonSetRoomPropertyCommandHandler
 Command handler for setting room properties. More...
 
class  EmulatorClearBreakpointCommandHandler
 
class  EmulatorGetMetricsCommandHandler
 
class  EmulatorGetRegistersCommandHandler
 
class  EmulatorGetStateCommandHandler
 
class  EmulatorHoldButtonsCommandHandler
 
class  EmulatorListBreakpointsCommandHandler
 
class  EmulatorPauseCommandHandler
 
class  EmulatorPressButtonsCommandHandler
 
class  EmulatorReadMemoryCommandHandler
 
class  EmulatorReleaseButtonsCommandHandler
 
class  EmulatorResetCommandHandler
 
class  EmulatorRunCommandHandler
 
class  EmulatorSetBreakpointCommandHandler
 
class  EmulatorStepCommandHandler
 
class  EmulatorWriteMemoryCommandHandler
 
class  GuiClickCommandHandler
 Command handler for clicking GUI elements. More...
 
class  GuiDiscoverToolCommandHandler
 Command handler for discovering GUI tools. More...
 
class  GuiPlaceTileCommandHandler
 Command handler for placing tiles via GUI automation. More...
 
class  GuiScreenshotCommandHandler
 Command handler for taking screenshots. More...
 
class  HexReadCommandHandler
 Command handler for reading hex data from ROM. More...
 
class  HexSearchCommandHandler
 Command handler for searching hex patterns in ROM. More...
 
class  HexWriteCommandHandler
 Command handler for writing hex data to ROM. More...
 
class  MessageListCommandHandler
 Command handler for listing messages. More...
 
class  MessageReadCommandHandler
 Command handler for reading messages. More...
 
class  MessageSearchCommandHandler
 Command handler for searching messages. More...
 
class  MusicInfoCommandHandler
 Command handler for getting music track information. More...
 
class  MusicListCommandHandler
 Command handler for listing music tracks. More...
 
class  MusicTracksCommandHandler
 Command handler for getting detailed music track data. More...
 
class  OverworldDescribeMapCommandHandler
 Command handler for describing overworld maps. More...
 
class  OverworldFindTileCommandHandler
 Command handler for finding tiles in overworld. More...
 
class  OverworldGetEntranceCommandHandler
 Command handler for getting entrance information. More...
 
class  OverworldListSpritesCommandHandler
 Command handler for listing sprites in overworld. More...
 
class  OverworldListWarpsCommandHandler
 Command handler for listing warps in overworld. More...
 
class  OverworldTileStatsCommandHandler
 Command handler for getting tile statistics. More...
 
class  PaletteAnalyzeCommandHandler
 Command handler for analyzing palettes. More...
 
class  PaletteGetColorsCommandHandler
 Command handler for getting palette colors. More...
 
class  PaletteSetColorCommandHandler
 Command handler for setting palette colors. More...
 
class  ProjectBuildCommandHandler
 Command handler for building projects. More...
 
class  ProjectInitCommandHandler
 Command handler for initializing new projects. More...
 
class  ResourceListCommandHandler
 Command handler for listing resource labels by type. More...
 
class  ResourceSearchCommandHandler
 Command handler for searching resource labels. More...
 
class  RomDiffCommandHandler
 Command handler for comparing ROM files. More...
 
class  RomGenerateGoldenCommandHandler
 Command handler for generating golden ROM files. More...
 
class  RomInfoCommandHandler
 Command handler for displaying ROM information. More...
 
class  RomValidateCommandHandler
 Command handler for validating ROM files. More...
 
class  SimpleChatCommandHandler
 
class  SpriteListCommandHandler
 Command handler for listing sprites. More...
 
class  SpritePaletteCommandHandler
 Command handler for getting sprite palette information. More...
 
class  SpritePropertiesCommandHandler
 Command handler for getting sprite properties. More...
 

Functions

absl::Status HandleAgentCommand (const std::vector< std::string > &arg_vec)
 
absl::Status HandleTodoCommand (const std::vector< std::string > &args)
 Handle z3ed agent todo commands.
 
std::vector< std::unique_ptr< resources::CommandHandler > > CreateCliCommandHandlers ()
 Factory function to create all CLI-level command handlers.
 
std::vector< std::unique_ptr< resources::CommandHandler > > CreateAgentCommandHandlers ()
 Factory function to create all agent-specific command handlers.
 
std::vector< std::unique_ptr< resources::CommandHandler > > CreateAllCommandHandlers ()
 Factory function to create all command handlers (CLI + agent)
 
resources::CommandHandlerGetCommandHandler (const std::string &name)
 Get a command handler by name.
 

Function Documentation

◆ HandleAgentCommand()

◆ HandleTodoCommand()

absl::Status yaze::cli::handlers::HandleTodoCommand ( const std::vector< std::string > &  args)

Handle z3ed agent todo commands.

Commands: agent todo create [–category=<cat>] [–priority=<n>] agent todo list [–status=<status>] [–category=<cat>] agent todo update <id> –status=<status> agent todo show <id> agent todo delete <id> agent todo clear-completed agent todo next agent todo plan

Definition at line 261 of file todo_commands.cc.

◆ CreateCliCommandHandlers()

std::vector< std::unique_ptr< resources::CommandHandler > > yaze::cli::handlers::CreateCliCommandHandlers ( )

Factory function to create all CLI-level command handlers.

Returns
Vector of unique pointers to command handler instances

Definition at line 29 of file command_handlers.cc.

Referenced by CreateAllCommandHandlers().

◆ CreateAgentCommandHandlers()

std::vector< std::unique_ptr< resources::CommandHandler > > yaze::cli::handlers::CreateAgentCommandHandlers ( )

Factory function to create all agent-specific command handlers.

Returns
Vector of unique pointers to command handler instances

Definition at line 67 of file command_handlers.cc.

Referenced by CreateAllCommandHandlers().

◆ CreateAllCommandHandlers()

std::vector< std::unique_ptr< resources::CommandHandler > > yaze::cli::handlers::CreateAllCommandHandlers ( )

Factory function to create all command handlers (CLI + agent)

Returns
Vector of unique pointers to command handler instances

Definition at line 118 of file command_handlers.cc.

References CreateAgentCommandHandlers(), and CreateCliCommandHandlers().

Referenced by yaze::cli::ModernCLI::SetupCommands().

Here is the call graph for this function:

◆ GetCommandHandler()

resources::CommandHandler * yaze::cli::handlers::GetCommandHandler ( const std::string &  name)

Get a command handler by name.

Parameters
nameCommand name (e.g., "resource-list", "hex-read")
Returns
Pointer to command handler or nullptr if not found

Definition at line 136 of file command_handlers.cc.