Skip to main content

parse

Function parse 

Source
pub fn parse<T: Parser>() -> T
Expand description

Parses the command line as T.

--help and --version answer on stdout and exit 0; a command line clap cannot read is reported on stderr and exits Exit::Usage. This is clap’s own behaviour, wrapped so every verb goes through one call and a change to how a usage error reads is made once.