Skip to main content

complete

Function complete 

Source
pub fn complete(
    invocation: &Invocation,
    reads: Vec<Result<String, String>>,
) -> Outcome
Expand description

Finishes the command from what reading its sources gave: reads holds, for each of Invocation::operands in order, the text read or the reason it could not be (which the message names the argument in front of). The first failure in argument order is the one reported.