26 lines
630 B
Markdown
26 lines
630 B
Markdown
# completion
|
|
|
|
Read when: installing shell completions.
|
|
|
|
`wacli completion` emits shell completion scripts generated by Cobra.
|
|
|
|
## Commands
|
|
|
|
```bash
|
|
wacli completion bash [--no-descriptions]
|
|
wacli completion zsh [--no-descriptions]
|
|
wacli completion fish [--no-descriptions]
|
|
wacli completion powershell [--no-descriptions]
|
|
```
|
|
|
|
## Examples
|
|
|
|
```bash
|
|
source <(wacli completion bash)
|
|
source <(wacli completion zsh)
|
|
wacli completion fish | source
|
|
wacli completion powershell | Out-String | Invoke-Expression
|
|
```
|
|
|
|
For persistent installation paths, run the specific command with `--help`; Cobra prints shell-specific setup instructions.
|