Shell Completion
biwa supports tab completion for bash, zsh, and fish shells.
Prerequisites
Shell completions require the usage CLI to be installed.
Install it via mise:
bash
mise use -g usageOr see the usage installation docs for other methods.
Setup
We recommend using eval to load completions in your shell configuration. This ensures completions are always up to date with the installed version of biwa.
Bash
Add to ~/.bashrc:
bash
eval "$(biwa completion bash)"Zsh
Add to ~/.zshrc:
zsh
eval "$(biwa completion zsh)"Fish
Add to ~/.config/fish/config.fish:
fish
biwa completion fish | sourceVerify
After restarting your shell (or sourcing the config), try:
bash
biwa [TAB]You should see available subcommands like run, init, completion, etc.