Shell completions
springboot-cli completion prints a completion script to standard output. Redirect it into the completion directory for your shell.
Bash
bash
mkdir -p ~/.local/share/bash-completion/completions
springboot-cli completion bash > ~/.local/share/bash-completion/completions/springboot-cliOpen a new terminal or reload your Bash completion setup.
Zsh
bash
mkdir -p ~/.zsh/completions
springboot-cli completion zsh > ~/.zsh/completions/_springboot-cliAdd the completion directory and initialize completion in ~/.zshrc if you have not already:
zsh
fpath+=(~/.zsh/completions)
autoload -Uz compinit && compinitFish
fish
mkdir -p ~/.config/fish/completions
springboot-cli completion fish > ~/.config/fish/completions/springboot-cli.fishFish loads files from this directory automatically. Completion scripts include top-level commands, common flags, and known command actions and component names.