Skip to main content

split_assignment

Function split_assignment 

Source
pub fn split_assignment(text: &str) -> Result<Option<(String, Arg)>>
Expand description

Single-token KEY=value split for direct lower_command callers and exotic keys the grammar cannot classify (single tokens only — no whitespace reassembly, so the quoted-space corruption class cannot arise here). Returns Ok(None) when there is no =.