Skip to content

Commit 931c800

Browse files
committed
doc: improve caching instructions
1 parent d2e7f62 commit 931c800

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

doc/tutorial.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,13 @@ However you might find too time consuming to achieve all those network requests.
5959
You can store those data locally and reuse them for future command runs thanks to the
6060
:option:`--schemas <scim --schemas>`, :option:`--resource-types <scim --resource-types>` and :option:`--service-provider-config <scim --service-provider-config>` (and their corresponding environment vars :ref:`SCIM_CLI_SCHEMAS <scim-schemas-scim_cli_schemas>`, :ref:`SCIM_CLI_RESOURCE_TYPES <scim-resource_types-scim_cli_resource_types>` and :ref:`SCIM_CLI_SERVICE_PROVIDER_CONFIG <scim-service_provider_config-scim_cli_service_provider_config>`)
6161

62+
.. code-block:: shell
63+
:caption: Save the configuration resources
64+
65+
$ scim query schema > /tmp/schemas.json
66+
$ scim query resourcetype > /tmp/resource-types.json
67+
$ scim query serviceproviderconfig > /tmp/service-provider-config.json
68+
6269
.. code-block:: shell
6370
:caption: Load the cached resources
6471

0 commit comments

Comments
 (0)