[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libeufin] 01/02: cli
From: |
gnunet |
Subject: |
[libeufin] 01/02: cli |
Date: |
Wed, 13 Jan 2021 17:16:20 +0100 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository libeufin.
commit bdd8291f73833389c50ca5e540881279222c5863
Author: Florian Dold <florian@dold.me>
AuthorDate: Wed Jan 13 17:16:06 2021 +0100
cli
---
cli/bin/libeufin-cli | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/cli/bin/libeufin-cli b/cli/bin/libeufin-cli
index 0fd355d..ed79436 100755
--- a/cli/bin/libeufin-cli
+++ b/cli/bin/libeufin-cli
@@ -499,12 +499,24 @@ def create_ebics_subscriber(obj, host_id, partner_id,
user_id):
exit(1)
print(resp.content.decode("utf-8"))
+@sandbox_ebicssubscriber.command("list", help="List EBICS subscribers.")
+@click.pass_obj
+def create_ebics_subscriber(obj):
+ sandbox_base_url = obj.require_sandbox_base_url()
+ url = urljoin(sandbox_base_url, "/admin/ebics/subscribers")
+ try:
+ resp = get(url)
+ except Exception:
+ print("Could not reach sandbox")
+ exit(1)
+ print(resp.content.decode("utf-8"))
+
@sandbox.group("ebicsbankaccount", help="manage EBICS bank accounts")
@click.pass_context
def sandbox_ebicsbankaccount(ctx):
pass
-@sandbox_ebicsbankaccount.command("create", help="associate a bank account to
a Ebics subscriber")
+@sandbox_ebicsbankaccount.command("create", help="Create a bank account
associated to an EBICS subscriber.")
@click.option("--iban", help="IBAN", required=True)
@click.option("--bic", help="BIC", required=True)
@click.option("--person-name", help="bank account owner name", required=True)
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.