shtab
shtab copied to clipboard
Running as module (python -m) completion?
Hi. I noticed that all the examples are centered around global scripts/entrypoints. Is it possible to also complete "python -m" runs? E.g. python -m my_module.main <TAB> ?
Nice idea.
unix.stackexchange#4219 assumes python -m my_module.main completion works and you want to get completion working for alias my_module='python -m my_module.main'. This issue is the opposite. If you can find some code which does it, would be happy to accept a suggestion/PR.