Function gong::process

source ·
pub fn process<'a, T>(args: &'a [T], options: &Options<'a>) -> Analysis<'a>where
    T: AsRef<str>,
Expand description

Analyses provided program arguments, using provided information about valid available options.

Returns a result set describing the result of the analysis. This may include &str references to strings provided in the args and options parameter data. Take note of this with respect to object lifetimes.

Expects available options data to have already been validated. (See Options::is_valid).