Function run_client_command

Source
fn run_client_command(
    session_state: &mut SessionState,
    global_state: &mut GlobalState,
    command: ClientChatCommand,
    args: Vec<String>,
) -> Result<Option<Content>, Content>
Expand description

Executes a client-side command.

This function dispatches to the appropriate handler function based on the command.