python-selfcompletion
python-selfcompletion copied to clipboard
Automatically-generated command completion built on argparse
PyPI
Can you add this to PyPI?
selfcompletion should be able to generate completions for zsh users. If there's some mechanism for default completions on zsh, that would be ideal. If not, it might entail creating a...
The `--_completion` option includes the completion logic in the executable itself, and is invoked by a generic completion script that forwards all completions to it by default. It might make...
The completion suggestions currently aren't smart about context. For example, if an executable is supposed to take "-n [0-9]+", and you type "-n ", selfcompletion should only suggest numbers.