Skip to main content

parse_from

Function parse_from 

Source
pub fn parse_from<I, T>(args: I) -> Result<Command, Error>
where I: IntoIterator<Item = T>, T: Into<OsString> + Clone,
Expand description

Parse a full argv into a Command.

§Errors

Returns the clap error for the selected parser, so --help and --version still render correctly for each subcommand.