intelmq
intelmq copied to clipboard
Better and easier way to maintain auto-completion
Discussion started in #1239
There are also "extensions" to argparse which can provide the possible completions. These (python) functions are called by the completion function with the existing parameters as argument. That moves the completing logic completely to python. That would be much less effort, but an additional dependency. https://argcomplete.readthedocs.io/en/latest/