[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libeufin] branch master updated: Equip CLI with CCC method.
From: |
gnunet |
Subject: |
[libeufin] branch master updated: Equip CLI with CCC method. |
Date: |
Thu, 19 Mar 2020 19:18:42 +0100 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository libeufin.
The following commit(s) were added to refs/heads/master by this push:
new 977f984 Equip CLI with CCC method.
977f984 is described below
commit 977f984d917bca6026b6b491cba29a63580c415f
Author: Marcello Stanisci <address@hidden>
AuthorDate: Thu Mar 19 19:18:03 2020 +0100
Equip CLI with CCC method.
---
cli/python/libeufin-cli | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/cli/python/libeufin-cli b/cli/python/libeufin-cli
index 2517599..0fa5ce9 100755
--- a/cli/python/libeufin-cli
+++ b/cli/python/libeufin-cli
@@ -581,6 +581,21 @@ def fetch_payment_status(ctx, account_id, date_range,
nexus_base_url):
return
print(resp.content.decode("utf-8"))
+@ebics.command(help="Picks the first unsubmitted payment and send it to the
bank via CCC")
+@click.pass_context
+@click.argument(
+ "nexus-base-url"
+)
+def execute_payments_ccc(ctx, nexus_base_url):
+ try:
+ url = urljoin(nexus_base_url, "/ebics/admin/execute-payments-ccc")
+ resp = post(url)
+ except Exception as e:
+ print("Could not reach the Nexus", e)
+ return
+
+ print(resp.content.decode("utf-8"))
+
@ebics.command(help="Picks the first unsubmitted payment and send it to the
bank")
@click.pass_context
@click.argument(
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [libeufin] branch master updated: Equip CLI with CCC method.,
gnunet <=