completion
Print a shell completion script.
read onlyrepeatableno sign-in
Print a shell completion script.
Usage
outplane completion <SHELL>Arguments
| Argument | Type | Description |
|---|---|---|
SHELL | string | Which shell to generate for (bash | zsh | fish | powershell) Required. |
Examples
Print the zsh script
outplane completion zshInstall it for zsh
outplane completion zsh > "${fpath[1]}/_outplane"Print the bash script
outplane completion bashWhat to Know
- Completion is for a person at a prompt. A program should read
outplane schemainstead, which is the same information as data.
Errors
Beyond 0 for success, this command exits with:
| Exit | Kind | Meaning |
|---|---|---|
2 | usage | Invalid arguments, unknown flag, or client-side validation failure. |