Skip to content

Shell Completion

The Ancla CLI supports tab completion for commands, subcommands, flags, and dynamic values like org and project slugs.

Load for the current session:

Terminal window
source <(ancla completion zsh)

Load permanently (add to an fpath directory):

Terminal window
ancla completion zsh > "${fpath[1]}/_ancla"

If completions aren’t working, make sure compinit is called in your .zshrc:

Terminal window
autoload -Uz compinit && compinit