python-argcomplete

Provides tab completion for Python argparse command-line tools

brewmacoslinux
Try with needOr install directly
Source

About

Tab completion for Python argparse

Commands

register-python-argcomplete

Examples

Register tab completion for a Python script using argparse$ eval "$(register-python-argcomplete my_script.py)"
Enable completion for an installed Python package with argparse$ eval "$(register-python-argcomplete -s bash_source my_command)"
Generate completion script for zsh shell$ register-python-argcomplete --shell zsh my_script.py