Function get_completion

Source
pub fn get_completion(shell: &dyn Generator, path: &Path) -> Option<String>
Expand description

Returns the shell completion for a given shell, if the result differs from the current content of path. If path does not exist, always returns Some.