Skip to main content

parse

Function parse 

Source
pub fn parse(args: &[String], opts: &[Opt]) -> Result<Parsed, String>
Expand description

Reads args (without the program name or the command words) according to the command’s options plus the global ones. --option=value, --option value, -o value, -ovalue and -- (the rest is positional).