arctl completion zsh
Generate the autocompletion script for the zsh shell.
If shell completion is not already enabled in your environment you will need to enable it. You can execute the following once:
echo "autoload -U compinit; compinit" >> ~/.zshrc
To load completions in your current shell session:
source <(arctl completion zsh)
To load completions for every new session, execute once:
Linux:
arctl completion zsh > "${fpath[1]}/_arctl"
macOS:
arctl completion zsh > $(brew --prefix)/share/zsh/site-functions/_arctl
You will need to start a new shell for this setup to take effect.
Usage
arctl completion zsh [flags]Command-specific flags
--no-descriptions: disable completion descriptions.Global flags
-h, --help: Display help information for the command.
--registry-token string: Registry bearer token (defaults to value of ARCTL_API_TOKEN env var).
--registry-url string: Registry URL (overrides ARCTL_API_BASE_URL env var; defaults to http://localhost:12121).