aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThien-Thi Nguyen <ttn@gnuvola.org>2022-01-24 04:22:48 -0500
committerThien-Thi Nguyen <ttn@gnuvola.org>2022-01-24 04:22:48 -0500
commit7bfee7b21546be9513ea371ec1c9867050065763 (patch)
tree1bd12fb517608aad54c49b8f7cc7e1129abf9167
parentd6d3763b89ea0582e3dd9232bdfe5f545301fd22 (diff)
downloaddocs-7bfee7b21546be9513ea371ec1c9867050065763.tar.gz
docs-7bfee7b21546be9513ea371ec1c9867050065763.tar.bz2
docs-7bfee7b21546be9513ea371ec1c9867050065763.zip
write ‘config’ description, including example
-rw-r--r--manpages/libeufin-sandbox.1.rst18
1 files changed, 17 insertions, 1 deletions
diff --git a/manpages/libeufin-sandbox.1.rst b/manpages/libeufin-sandbox.1.rst
index 80a7344a..239a56cf 100644
--- a/manpages/libeufin-sandbox.1.rst
+++ b/manpages/libeufin-sandbox.1.rst
@@ -65,7 +65,23 @@ The following sections describe each command in detail.
Command ``config``
==================
-.. WRITEME
+This command takes argument ``NAME`` and creates a demobank with that name.
+
+Option ``--currency CUR`` (default: ``EUR``) specifes another currency.
+Option ``--bank-debt-limit N`` (default: 1000000) specifies that
+the bank debt limit should be N (units of currency).
+Similarly, option ``--users-debt-limit N`` (default: 1000) specifies
+that the users debt limit should be N (units of currency).
+
+For example:
+
+.. code-block:: console
+
+ $ libeufin-sandbox config default
+
+This creates the demobank ``default`` with currency ``EUR``,
+bank debt limit 1000000, users debt limit 1000,
+and allows registrations.
Command ``default-exchange``