pub(super) async fn execute_chat_command(
cmd_line: &str,
context: CommandContext,
) -> Result<()>Expand description
Executes a chat command.
This function parses a command line string and dispatches it to the appropriate command handler.
§Arguments
cmd_line- The full command line string entered by the user.context- TheCommandContextproviding access to the application’s state.
§Returns
A Result indicating success or failure of the command execution.