Function complete_cmd

Source
pub fn complete_cmd<'a, O, I, F>(
    arg: &str,
    opts: I,
    f: F,
) -> Result<bool, Error>
where O: Opt + 'a, I: Iterator<Item = &'a O>, F: FnMut(&str, &O) -> Result<(), Error>,