agentvisor completion
Generate the autocompletion script for agentvisor for the specified shell.
Synopsis
agentvisor completion <shell> [flags]
Subcommands
| Subcommand | Description |
|---|---|
bash | Generate the autocompletion script for bash |
zsh | Generate the autocompletion script for zsh |
fish | Generate the autocompletion script for fish |
powershell | Generate the autocompletion script for powershell |
Each subcommand prints a completion script to stdout — see each shell's section below for how to load it.
bash
Requires the bash-completion package.
# Load completions in the current shell session
source <(agentvisor completion bash)
# Linux: load for every new session
agentvisor completion bash > /etc/bash_completion.d/agentvisor
# macOS: load for every new session
agentvisor completion bash > $(brew --prefix)/etc/bash_completion.d/agentvisor
Options
| Option | Default | Description |
|---|---|---|
--no-descriptions | false | disable completion descriptions |
zsh
If shell completion is not already enabled, enable it once:
echo "autoload -U compinit; compinit" >> ~/.zshrc
Then:
# Load completions in the current shell session
source <(agentvisor completion zsh)
# Linux: load for every new session
agentvisor completion zsh > "${fpath[1]}/_agentvisor"
# macOS: load for every new session
agentvisor completion zsh > $(brew --prefix)/share/zsh/site-functions/_agentvisor
Options
| Option | Default | Description |
|---|---|---|
--no-descriptions | false | disable completion descriptions |
fish
# Load completions in the current shell session
agentvisor completion fish | source
# Load for every new session
agentvisor completion fish > ~/.config/fish/completions/agentvisor.fish
Options
| Option | Default | Description |
|---|---|---|
--no-descriptions | false | disable completion descriptions |
powershell
# Load completions in the current shell session
agentvisor completion powershell | Out-String | Invoke-Expression
# Load for every new session, add the output of the above command
# to your PowerShell profile
Options
| Option | Default | Description |
|---|---|---|
--no-descriptions | false | disable completion descriptions |