Skip to main content

generate_completion

Function generate_completion 

Source
pub fn generate_completion(shell: &str) -> Result<()>
Expand description

Generate shell completion script

§Arguments

  • shell - Shell type (fish, zsh, bash, elvish, powershell, nushell)

§Errors

Returns error if shell is not supported or generation fails