pub fn complete_word(spec: &Spec, words: &[String]) -> Vec<String>
Candidate next words for a partial command line. words excludes the program name; the last element is the (possibly empty) word under the cursor.
words