Skip to main content

parse_args

Function parse_args 

Source
pub fn parse_args<I, S>(args: I) -> Result<Command>
where I: IntoIterator<Item = S>, S: Into<OsString>,
Expand description

Parse arguments excluding the executable name.

ยงErrors

Returns a descriptive error for missing, duplicate, or unknown arguments.