pub fn parse_command_with_agent_surface<T>(
spec: &ToolSpec,
) -> Result<AgentDispatch<T>, Error>where
T: CommandFactory + FromArgMatches,Expand description
Parse a clap CLI against the current normal or agent-filtered surface.
ยงErrors
Returns a clap error when parsing fails.