pub fn get_completion(shell: &dyn Generator, path: &Path) -> Option<String>
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.
path
Some