Skip to main content

parse_selector

Function parse_selector 

Source
pub fn parse_selector(value: &str) -> Option<Result<Selector, String>>
Expand description

Recognize an explicit JSON config selector without stealing ordinary executable names containing :. A .json suffix is explicit even when the file is missing, so the user gets a file error rather than attempting to spawn the whole selector as a command.