Skip to main content

plan

Function plan 

Source
pub fn plan(args: &[String], version: &str) -> Result<Invocation, Outcome>
Expand description

Reads the command line. Ok names the sources to read before complete; Err is the whole outcome when there is nothing to read: the version or the usage text asked for, or bad usage. version is what --version prints.

ยงErrors

The outcome, when the command ends without reading anything.