Raxol.Core.Runtime.Plugins.CommandHelper (Raxol v2.0.1)

View Source

Handles plugin command registration and dispatch for the Plugin Manager. Uses functional patterns with proper error handling using with statements and Tasks.

Summary

Functions

find_plugin_for_command(command_table, command_name, namespace, arity)

find_plugin_id_by_module(plugins, module)

Finds the plugin ID for a given module.

handle_command(command_table, command_name_str, namespace, args, state)

register_plugin_commands(plugin_module, plugin_state, command_table)

unregister_plugin_commands(command_table, plugin_module)

validate_command_args(args)

Validates command arguments.