From 14756d94dc1642b2643b49631185765e7e4bfc02 Mon Sep 17 00:00:00 2001 From: Tomer Shalev Date: Tue, 31 Oct 2023 12:25:11 +0200 Subject: [PATCH] Update server_mode.rst with shell usage example Suggest to create a `aws` alias which contains the `--endpoint-url http://localhost:5000` command-line option --- docs/docs/server_mode.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/docs/server_mode.rst b/docs/docs/server_mode.rst index d5dfb6bd5ace..9eb0aa86737d 100644 --- a/docs/docs/server_mode.rst +++ b/docs/docs/server_mode.rst @@ -119,6 +119,12 @@ Example Usage To use Moto in your tests, pass the `endpoint_url`-parameter to the SDK of your choice. +In shell: + +.. code-block:: bash + + alias aws='aws --endpoint-url http://localhost:5000' + In Python: .. code-block:: python