Skip to main content

take_agents_flag

Function take_agents_flag 

Source
pub fn take_agents_flag(
    args: &[String],
) -> Result<(Vec<String>, Option<String>), String>
Expand description

Pull --agents <list> / --agents=<list> out of CLI args. Returns the remaining args and the raw list; Err when the flag has no value.