pub fn complete(options: &CompleteOptions) -> Result<String, UsageErr>Expand description
Generates a shell completion script for the specified shell.
§Arguments
options- Configuration options including target shell and spec source
§Returns
The generated completion script as a string, or an error if the shell is unsupported.
§Supported Shells
bash- Bash completion usingcompletebuiltinfish- Fish shell completionszsh- Zsh completion usingcompdefpowershell- PowerShell completion usingRegister-ArgumentCompleter