Re:Creating a bash completion script (2018)
by kortex on Wednesday March 02, 2022 @09:47AM
(#30527894)
I use Cleo for python, same thing, has the ability to generate completion scripts. I also find the API far saner than argparse or click. I don't really use the docstring-parser, I prefer using the Command api for finer control, but it's really cool to just write the help docs and automagically get options.
https://github.com/sdispater/cleo