Skip to main content
Version: 0.9.x

tctl completion

tctl completion

Generates tab completion scripts

tctl completion <bash|zsh|fish|powershell>

Examples


Bash:

$ source <(tctl completion bash)

# To load completions for each session, execute once:
Linux:
$ tctl completion bash > /etc/bash_completion.d/tctl
MacOS:
$ tctl completion bash > /usr/local/etc/bash_completion.d/tctl

Zsh:

# 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 for each session, execute once:
$ tctl completion zsh > "${fpath[1]}/_tctl"

# You will need to start a new shell for this setup to take effect.

Fish:

$ tctl completion fish | source

# To load completions for each session, execute once:
$ tctl completion fish > ~/.config/fish/completions/tctl.fish

Options

  -h, --help   help for completion

Options inherited from parent commands

      --config string    Path to the  file to use
--debug Print debug messages for all requests and responses
-p, --profile string Use specific profile (default "default")