Function bootstrap::core::config::flags::get_completion

source ·
pub fn get_completion<G: Generator>(shell: G, 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.