axle completion
axle completion <shell>axle completion prints a script that makes Tab complete Axle’s commands, options and the values they take, such as axle run --output-logs <Tab>. The shell is bash, zsh, fish, powershell or elvish. Load the script from your shell’s startup file, as below, and open a new terminal.
Add this line to ~/.bashrc:
eval "$(axle completion bash)"Add this line to ~/.zshrc, after compinit:
eval "$(axle completion zsh)"Write the script into fish’s completions folder once:
axle completion fish > ~/.config/fish/completions/axle.fishPowerShell
Section titled “PowerShell”Add this line to your profile, the file $PROFILE names:
axle completion powershell | Out-String | Invoke-ExpressionElvish
Section titled “Elvish”Add this line to ~/.config/elvish/rc.elv:
eval (axle completion elvish | slurp)Updating
Section titled “Updating”The bash, zsh, PowerShell and Elvish lines run axle completion in each new terminal, so they always match the installed Axle. A fish completions file is written once: write it again after updating Axle to complete new commands and options.