doctl completion zsh

Go to Navigation

Usage

doctl completion zsh [flags]

Description

Use doctl completion zsh to configure your zsh shell so that doctl commands autocomplete when you press the TAB key.

To review the configuration, run doctl completion zsh.

To enable the configuration, add the following line to your .profile or .bashrc.

source  <(doctl completion zsh)

Note:

  • zsh completions requires zsh 5.2 or newer.

Flags

OptionDescription
--help, -hHelp for this command
CommandDescription
doctl completionModify your shell so doctl commands autocomplete with TAB

Global Flags

OptionDescription
--access-token, -tAPI V2 access token
--api-url, -uOverride default API endpoint
--config, -cSpecify a custom config file
Default:
  • macOS: ${HOME}/Library/Application Support/doctl/config.yaml
  • Linux: ${XDG_CONFIG_HOME}/doctl/config.yaml
  • Windows: %APPDATA%\doctl\config.yaml
--contextSpecify a custom authentication context name
--output, -oDesired output format [text|json]
Default: text
--traceShow a log of network activity while performing a command
Default: false
--verbose, -vEnable verbose output
Default: false