1

I am using the CLI for IBM Cloud in my bash environment. Is there support for autocomplete, i.e., automatic completion of commands and their options?

I am especially interested in the commands for the Kubernetes service and the container registry.

data_henrik
  • 16,724
  • 2
  • 28
  • 49

1 Answers1

4

Autocompletion is supported, but not that well-advertised. The instructions can be found in the IBM Cloud developer tools documentation. The following source needs to be added to the bash / zsh resource file or profile:

bash: source /usr/local/ibmcloud/autocomplete/bash_autocomplete
zsh: source /usr/local/ibmcloud/autocomplete/zsh_autocomplete

data_henrik
  • 16,724
  • 2
  • 28
  • 49