AutoMax
ReferenceCLI commands

automax completion

Print a shell completion script generated from the command tree.

automax completion bash|zsh|fish

The script is generated from the live commander metadata, so it always matches the installed version: top-level commands, subcommands, and the flags of each.

# bash
automax completion bash > ~/.automax-completion.bash
echo 'source ~/.automax-completion.bash' >> ~/.bashrc

# zsh
automax completion zsh > "${fpath[1]}/_automax"
autoload -Uz compinit && compinit

# fish
automax completion fish > ~/.config/fish/completions/automax.fish

Exit code 2 for an unknown shell.