Allow dynamic generation of the autocompletion list using a callback.
Before adoption: this commit came in with the history the project adopted, so no landing records it.
The callback receives the following data: - The current click context. This allows the callback to access any parameters that are already present on the command line. - The current word being completed. This may be an empty string. - The bash COMP_CWORDS and COMP_CWORD variables, in case the callback wants to do raw parsing of this data.
authored by Brett Bethke · committed by Brett Bethke · parent 8e35beb · Browse files · 1 file+7 added−1 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+7 added−1 removed
- other:+7 added−1 removed