pub fn parse_with_agent_surface<T>(
spec: &ToolSpec,
) -> Result<AgentDispatch<T>, Error>where
T: CommandFactory + FromArgMatches,Expand description
Parse process argv against the normal or agent-filtered surface for a clap CLI.
ยงErrors
Returns a clap error when parsing fails or when an unknown agent capability is requested.