class
Cradare2::Plugin::CommandDispatcher
- Cradare2::Plugin::CommandDispatcher
- Reference
- Object
Overview
Extensible command dispatcher implementing the radare2 crystal command suite.
Uses a command registry pattern supporting custom commands, aliases, and universal JSON (-j) output.
Defined in:
cradare2/plugin/dispatcher.crConstructors
Instance Method Summary
- #client : Client
- #command_list : Array(Command)
- #commands : Hash(String, Command)
-
#dispatch(args : Array(String)) : String
Dispatches an array of arguments.
-
#dispatch(cmd_line : String) : String
Dispatches a command string and returns the output string.
-
#help : String
Generates the interactive help menu.
- #prefix : String
-
#register(cmd : Command) : self
Registers a command handler with the dispatcher.
Constructor Detail
Instance Method Detail
def dispatch(cmd_line : String) : String
#
Dispatches a command string and returns the output string.