Skip to main content

parse

Function parse 

Source
pub fn parse(args: &[OsString]) -> Result<Cli, Error>
Expand description

Parses the arguments (without the program name) of the player’s command line.

§Errors

The clap error for a usage error, --help or an unknown command; clap::Error::print shows it and clap::Error::exit_code says how to exit.