Say I have a program hello.py and one possible valid argument to it is:./hello.py autoawesomesauceIs is possible to type in:./hello.py auto[tab]at which point the partially completed argument is sent to hello, which recognizes it as such and then completes it on the shell to:./hello.py autoawesomesauceI know git does something like this, but can it be done for a Python script + Bash?
How can I tell bash valid tab-completions for arguments to my Python script
bash;autocomplete