Enable CLI command completion
Completion allows you to hit [TAB] on a partially entered akka
command and have the shell complete the command, subcommand or flag for you.
- bash
-
To load completion in the current bash shell run:
source <(akka completion)
bashConfigure bash to load
akka
completions for each session by adding the following line to your~/.bashrc
or~/.profile
file:# add to ~/.bashrc or ~/.profile source <(akka completion)
bashUsing bash completions with
akka
requires you have bash completions enabled to begin with. Enable it in your~/.bashrc
or~/.profile
file with the following lines:if [ -f /etc/bash_completion ]; then source /etc/bash_completion fi
bashFor definitive details on setting up your shell with auto-completion, see the shell documentation.
- zsh (e.g. macOS)
- fish
- PowerShell