Skip to main content

command_session_action

Function command_session_action 

Source
pub fn command_session_action(args: &Value) -> Option<&str>
Expand description

Determine the action for command-session calls based on args.

Returns the action string or None when no inference is possible. An explicit action wins; otherwise standard command, code, input, inspect, and session-id fields route in that order.