parse_command_context

Function parse_command_context 

Source
pub fn parse_command_context(
    command: &str,
    tool_start: usize,
) -> Option<(String, Vec<String>, HashMap<String, String>)>
Expand description

Parse command into components (command, args, flags)

§Arguments

  • command - The full command string
  • tool_start - Offset where the tool name starts

§Returns

Tuple of (full_command, args, flags) or None if parsing fails