Better and easier way to maintain auto-completion #1240
Labels
component: intelmqctl
feature
Indicates new feature requests or new features
help wanted
Indicates that a maintainer wants help on an issue or pull request
usability
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/
The text was updated successfully, but these errors were encountered: