Skip to main content

agentvisor completion

Generate the autocompletion script for agentvisor for the specified shell.

Synopsis​

agentvisor completion <shell> [flags]

Subcommands​

SubcommandDescription
bashGenerate the autocompletion script for bash
zshGenerate the autocompletion script for zsh
fishGenerate the autocompletion script for fish
powershellGenerate 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​

OptionDefaultDescription
--no-descriptionsfalsedisable 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​

OptionDefaultDescription
--no-descriptionsfalsedisable 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​

OptionDefaultDescription
--no-descriptionsfalsedisable 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​

OptionDefaultDescription
--no-descriptionsfalsedisable completion descriptions