pub fn generate_completions(shell: &str) -> Result<String>
Auxiliary function to generate provided shell completions.