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