Skip to main content

parse

Function parse 

Source
pub fn parse(rest: &[&str], default_state: PathBuf) -> Result<Options, String>
Expand description

Parses choir host’s arguments.

§Errors

Returns a usage sentence naming the flag that was wrong. Combinations that contradict each other — two exposures, a public address on a machine that has none — are refused here rather than half-applied, because the first thing this command does is write files.