Out Plane

completion

Print a shell completion script.

read onlyrepeatableno sign-in

Print a shell completion script.

Usage

outplane completion <SHELL>

Arguments

ArgumentTypeDescription
SHELLstringWhich shell to generate for (bash | zsh | fish | powershell) Required.

Examples

Print the zsh script

outplane completion zsh

Install it for zsh

outplane completion zsh > "${fpath[1]}/_outplane"

Print the bash script

outplane completion bash

What to Know

  • Completion is for a person at a prompt. A program should read outplane schema instead, which is the same information as data.

Errors

Beyond 0 for success, this command exits with:

ExitKindMeaning
2usageInvalid arguments, unknown flag, or client-side validation failure.

On this page