gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libeufin] branch master updated: equip CLI with password option to regi


From: gnunet
Subject: [libeufin] branch master updated: equip CLI with password option to register subscribers.
Date: Tue, 07 Apr 2020 20:38:44 +0200

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 da14a8d  equip CLI with password option to register subscribers.
da14a8d is described below

commit da14a8d444355f992d4459534769245e2940a118
Author: Marcello Stanisci <address@hidden>
AuthorDate: Tue Apr 7 20:38:15 2020 +0200

    equip CLI with password option to register subscribers.
---
 cli/python/libeufin-cli | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/cli/python/libeufin-cli b/cli/python/libeufin-cli
index a753791..10e8b32 100755
--- a/cli/python/libeufin-cli
+++ b/cli/python/libeufin-cli
@@ -970,16 +970,23 @@ def subscribers(obj, nexus_base_url):
     help="ID of the EBICS server" ,
     required=True
 )
+@click.option(
+    "--password",
+    help="password to associate to the subscriber being created" ,
+    required=False,
+    default=None
+)
 @click.argument(
   "nexus-base-url"
 )
-def new_subscriber(obj, account_id, user_id, partner_id, system_id, host_id, 
ebics_url, nexus_base_url):
+def new_subscriber(obj, account_id, user_id, partner_id, system_id, host_id, 
ebics_url, password, nexus_base_url):
     nexus_url = urljoin(nexus_base_url, 
"/ebics/{}/subscribers".format(account_id))
     body = dict(
             ebicsURL=ebics_url,
             userID=user_id,
             partnerID=partner_id,
-            hostID=host_id
+            hostID=host_id,
+            password=password
     )
     if system_id:
         body.update(system_id)

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]