You can generate autocompletion scripts for the bash shell using the ctlptl completion bash command. This requires the bash-completion package to be installed on your system.
Load completions for the current session
To immediately use completions in your active terminal, run:
source <(ctlptl completion bash)
Enable completions permanently
To ensure completions are available in every new shell session, redirect the output to your system's bash completion directory. You will need to start a new shell for the changes to take effect.
On Linux:
ctlptl completion bash > /etc/bash_completion.d/ctlptl
On macOS:
ctlptl completion bash > $(brew --prefix)/etc/bash_completion.d/ctlptl