Function gen_completions

Source
pub(crate) fn gen_completions<T: Args>(
    args: impl Iterator<Item = OsString>,
    util_map: &OrderedMap<&'static str, (fn(T) -> i32, fn() -> Command)>,
) -> !
Expand description

Prints completions for the utility in the first parameter for the shell in the second parameter to stdout # Panics Panics if the utility map is empty