intelmq icon indicating copy to clipboard operation
intelmq copied to clipboard

Better and easier way to maintain auto-completion

Open ghost opened this issue 7 years ago • 0 comments

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/

ghost avatar May 16 '18 12:05 ghost