Function cliparser::parse_process
source · [−]pub fn parse_process(spec: &CliSpec) -> Result<CliParsed, ParserError>
Expand description
Parsers the given command line based on the given spec and returns the result.
In case of error (such as invalid input), an error will be returned.
In case the command line does not match the spec, Ok(None) will be returned.