Skip to content
Myr

README

This file

Path

examples/completion/README

33 lines · 558 bytes

Last changed by

Not known.

History of this file

Take it

The walk stopped after 200 commits: lines older than 1a3baf7 point at it.

use ruff lint and format (#2658)David Lordbefore adoption1a3baf7

lines 1–33why, one step back
1$ completion
2============34Demonstrates Click's shell completion support.56.. code-block:: bash78 pip install --editable .910For Bash:1112.. code-block:: bash1314 eval "$(_COMPLETION_COMPLETE=bash_source completion)"1516For Zsh:1718.. code-block:: zsh1920 eval "$(_COMPLETION_COMPLETE=zsh_source completion)"2122For Fish:2324.. code-block:: fish2526 eval (env _COMPLETION_COMPLETE=fish_source completion)2728Now press tab (maybe twice) after typing something to see completions.2930.. code-block:: python3132 $ completion <TAB> <TAB>33 $ completion gr <TAB> <TAB>