Shell completions
springboot-cli completion prints a completion script to standard output. Redirect it into the completion directory for your shell.
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
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:
fpath+=(~/.zsh/completions)
autoload -Uz compinit && compinitFish
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.
Project script completion
Bash, Zsh, and Fish complete script names for springboot-cli run <Tab>. Names come from the current project's springboot-cli.json when you press Tab, so completions reflect edits immediately and work from project subdirectories. The provider reads names only and never executes a configured script. Outside a project, or when no scripts are configured, it silently offers no names.