Basics

completion

orc completion generates shell completion scripts for Bash, Zsh, Fish, or PowerShell on standard output. Completion targets come from the public CLI command tree. Printing a script does not automatically modify shell configuration files.

Usage

terminal
orc completion <shell> [options]
terminal
orc completion bash

Generate Bash completions.

Unique options

--shell

Shell: bash, zsh, fish, or powershell

Type: string. Optional.

terminal
orc completion <shell> --shell <value>

Examples

Save the Zsh script to a file.

Inspect the generated file and load it using your shell’s completion configuration.

terminal
orc completion zsh > orchestor-completion.zsh

Save the Zsh script to a file.

Global Options

The following global options can be used with orc completion:

For details and examples, see global options.