[−][src]Function gong::process
pub fn process<'o, 'a, A>(
args: &'a [A],
options: &'o OptionSetEx<'a>
) -> Analysis<'a> where
A: 'a + AsRef<str>,
'a: 'o,
👎 Deprecated since 1.2.0:
use the method on the option set object instead
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
OptionSetEx::is_valid
).