gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [libeufin] branch master updated: Addressing #5913.


From: gnunet
Subject: [GNUnet-SVN] [libeufin] branch master updated: Addressing #5913.
Date: Tue, 01 Oct 2019 16:04:31 +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 7896b49  Addressing #5913.
7896b49 is described below

commit 7896b49cb99a658094159677f32e79643b92f535
Author: Marcello Stanisci <address@hidden>
AuthorDate: Tue Oct 1 16:03:49 2019 +0200

    Addressing #5913.
---
 src/main/python/libeufin-cli | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/src/main/python/libeufin-cli b/src/main/python/libeufin-cli
new file mode 100755
index 0000000..e6620f7
--- /dev/null
+++ b/src/main/python/libeufin-cli
@@ -0,0 +1,29 @@
+#!/usr/bin/env python3
+
+import click
+
+@click.group()
+@click.option(
+    "--base-url", default="http://host.name";,
+    help="Base URL of the bank (defaults to http://localhost:5000/)")
+@click.pass_context
+def cli(ctx, base_url):
+    ctx.obj = dict(base_url=base_url)
+
+@cli.group()
+def admin():
+    pass
+
+@admin.command(help="Create a new customer")
+@click.pass_obj
+def customers(obj):
+    click.echo("Request creation of new customer or send initialization 
letter")
+
+@admin.command(help="Confirm INI and HIA messages via JSON API")
+@click.option("--enc-key", help="Encryption RSA public key in PEM format")
+@click.option("--es-key", help="Signature RSA public key in PEM format")
+@click.option("--ia-key", help="Identification and authentication RSA public 
key in PEM format")
+def initletter(enc_key, es_key, ia_key):
+    click.echo("Send initialization letter to confirm INI / HIA messages")
+
+cli()

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



reply via email to

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