Skip to main content

parse

Function parse 

Source
pub fn parse(
    command: &str,
    args: &[String],
    options: &'static [Opt],
    exclusive: &[&[&str]],
) -> Result<Parsed, Failure>
Expand description

Reads args for command, whose options are options and the global ones. exclusive lists groups of options of which at most one may be given.