gnunet-svn
[Top][All Lists]
Advanced

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

[libeufin] branch master updated: CLI account creation


From: gnunet
Subject: [libeufin] branch master updated: CLI account creation
Date: Sun, 03 Dec 2023 21:02:31 +0100

This is an automated email from the git hooks/post-receive script.

ms pushed a commit to branch master
in repository libeufin.

The following commit(s) were added to refs/heads/master by this push:
     new 5fc20cc6 CLI account creation
5fc20cc6 is described below

commit 5fc20cc6b2c75c00ca857c7d68b281dfcd0b6e29
Author: MS <ms@taler.net>
AuthorDate: Sun Dec 3 21:01:32 2023 +0100

    CLI account creation
    
    printing the new account payto://-address
---
 bank/src/main/kotlin/tech/libeufin/bank/Main.kt | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/bank/src/main/kotlin/tech/libeufin/bank/Main.kt 
b/bank/src/main/kotlin/tech/libeufin/bank/Main.kt
index a1e28cf9..ad566840 100644
--- a/bank/src/main/kotlin/tech/libeufin/bank/Main.kt
+++ b/bank/src/main/kotlin/tech/libeufin/bank/Main.kt
@@ -326,7 +326,10 @@ class ChangePw : CliktCommand("Change account password", 
name = "passwd") {
     }
 }
 
-class CreateAccount : CliktCommand("Create an account", name = 
"create-account") {
+class CreateAccount : CliktCommand(
+    "Create an account, returning the payto://-URI associated with it",
+    name = "create-account"
+) {
     private val configFile by option(
         "--config", "-c",
         help = "set the configuration file"
@@ -350,6 +353,7 @@ class CreateAccount : CliktCommand("Create an account", 
name = "create-account")
                 AccountCreationResult.Success ->
                     logger.info("Account '${json.username}' created")
             }
+            println(internalPayto)
         }
     }
 }

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

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