Skip to content

Commit

Permalink
Revert "document argcomplete system"
Browse files Browse the repository at this point in the history
This reverts commit 4a8bc29.
  • Loading branch information
cyberw committed Oct 26, 2023
1 parent 0357586 commit 7d7033e
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,27 +21,6 @@ Installation
3. Done! Now you can :ref:`create your first test <quickstart>`

Optional: CLI tab completion
----------------------------

Locust uses the argcomplete_ module to provide tab completions for the ``locust`` command line interface.
This is entirely optional; if you don't care about tab completion, you can skip this section entirely!
If you do want to enable tab completion, first install the ``argcomplete`` module
into the same environment where you installed ``locust``:

.. code-block:: console
$ pip3 install argcomplete
Then add this line to your shell config file
(``~/.bashrc`` if you use ``bash``, ``~/.zshrc`` if you use ``zsh``):

.. code-block:: console
eval "$(register-python-argcomplete locust)"
Restart your shell, and you should have working tab completion for the ``locust`` CLI!
If this doesn't work, `check the argcomplete documentation <https://kislyuk.github.io/argcomplete/>`_.

Pre-release builds
------------------
Expand All @@ -58,5 +37,3 @@ Install for development
-----------------------

If you want to modify Locust, or contribute to the project, see :ref:`developing-locust`.

.. _argcomplete: https://github.com/kislyuk/argcomplete

0 comments on commit 7d7033e

Please sign in to comment.