summaryrefslogtreecommitdiff
path: root/src/click/shell_completion.py
Commit message (Collapse)AuthorAgeFilesLines
* shell completion prioritizes option values over new optionsPaul Spangler2022-03-281-9/+8
| | | | | | | 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.
* Update shell completion to use COMPREPLY instead of COMREPLY for BashAshwin Madavan2021-12-281-2/+2
|
* completion arguments may start with a "/"Sam Schott2021-07-041-1/+6
|
* bash version detection is locale independentJan Losinski2021-07-031-2/+4
| | | | | | The `BASH_VERSION` variable holds the bash version number in a much better consumable and especially locale independent format than the `--version` flag.
* add typing annotationsDavid Lord2021-04-231-36/+65
|
* mark more messages for translationDavid Lord2021-04-031-3/+6
|
* initial type checking configurationIwan Aucamp2021-02-151-5/+6
| | | | add minimal annotations to pass checks
* get default before processing valueDavid Lord2020-10-101-18/+19
| | | | | | | | | | | 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-6/+6
|
* pass extra context settings to completionDavid Lord2020-10-031-6/+10
|
* don't pass all args to shell_complete methodsDavid Lord2020-10-031-2/+2
|
* return list of CompletionItem objectsDavid Lord2020-10-031-12/+39
|
* documentation for new shell completion systemAmy2020-10-031-1/+1
| | | | | Co-authored-by: Kai Chen <kaichen120@gmail.com> Co-authored-by: David Lord <davidism@gmail.com>
* tests for new shell completion systemKai Chen2020-10-031-1/+3
| | | | | Co-authored-by: Amy <leiamy12@gmail.com> Co-authored-by: David Lord <davidism@gmail.com>
* redesign shell completion systemAmy2020-10-031-0/+507
Co-authored-by: Kai Chen <kaichen120@gmail.com> Co-authored-by: David Lord <davidism@gmail.com>