summaryrefslogtreecommitdiff
path: root/tests/test_shell_completion.py
Commit message (Collapse)AuthorAgeFilesLines
* shell completion prioritizes option values over new optionsPaul Spangler2022-03-281-0/+39
| | | | | | | Allow option values that start with an option prefix to complete rather than treating them like new options. Don't treat count options as needing a value to complete.
* remove deprecated Command autocompletion parameterDavid Lord2021-11-101-14/+0
|
* use sys.exit() instead of _fast_exit()taran_lu2021-08-051-3/+0
|
* completion arguments may start with a "/"Sam Schott2021-07-041-0/+8
|
* apply updated pre-commit hooksDavid Lord2021-02-081-3/+1
|
* handle case_sensitive=False when completing choicesFelix Nordén2020-10-311-0/+10
| | | | Co-authored-by: David Lord <davidism@gmail.com>
* get default before processing valueDavid Lord2020-10-101-2/+17
| | | | | | | | | | | This ensures the default value is processed like other values. Some type converters were adjusted to accept values that are already the correct type. Use parameter source instead of value to determine if argument was supplied on the command line during completion. Add a parameter source for values from prompt.
* swap order of instruction stringDavid Lord2020-10-071-4/+4
|
* pass extra context settings to completionDavid Lord2020-10-031-1/+15
|
* don't pass all args to shell_complete methodsDavid Lord2020-10-031-3/+15
|
* rename autocompletion to shell_completeDavid Lord2020-10-031-2/+15
| | | | | new function takes additional param arg, must return a homogeneous list of strings or CompletionItem, and must perform matching on results
* return list of CompletionItem objectsDavid Lord2020-10-031-14/+19
|
* complete commands using registered namesJan Kowalleck2020-10-031-0/+7
|
* tests for new shell completion systemKai Chen2020-10-031-0/+240
Co-authored-by: Amy <leiamy12@gmail.com> Co-authored-by: David Lord <davidism@gmail.com>