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

1$ completion2============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>