Skip to main content

parse_command_with_agent_surface

Function parse_command_with_agent_surface 

Source
pub fn parse_command_with_agent_surface<T>(
    spec: &ToolSpec,
) -> Result<AgentDispatch<T>, Error>
Expand description

Parse a clap CLI against the current normal or agent-filtered surface.

ยงErrors

Returns a clap error when parsing fails.