[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libeufin] 02/02: add Sandbox CLI command to wire-transfer
From: |
gnunet |
Subject: |
[libeufin] 02/02: add Sandbox CLI command to wire-transfer |
Date: |
Mon, 23 Aug 2021 15:13:22 +0200 |
This is an automated email from the git hooks/post-receive script.
ms pushed a commit to branch master
in repository libeufin.
commit f780713a659f4d2aa3d81adba1d02101454d3c34
Author: MS <ms@taler.net>
AuthorDate: Mon Aug 23 02:11:27 2021 -1100
add Sandbox CLI command to wire-transfer
---
sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
b/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
index 3907c9f..a6aafc5 100644
--- a/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
+++ b/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
@@ -209,11 +209,7 @@ class MakeTransaction : CliktCommand("Wire-transfer money
between Sandbox bank a
it[direction] = "CRDT"
}
}
-
- // book payment
-
}
-
}
class ResetTables : CliktCommand("Drop all the tables from the database") {
@@ -309,9 +305,9 @@ class SandboxCommand : CliktCommand(invokeWithoutSubcommand
= true, printHelpOnE
override fun run() = Unit
}
-
+
fun main(args: Array<String>) {
- SandboxCommand().subcommands(Serve(), ResetTables(), Config()).main(args)
+ SandboxCommand().subcommands(Serve(), ResetTables(), Config(),
MakeTransaction()).main(args)
}
suspend inline fun <reified T : Any> ApplicationCall.receiveJson(): T {
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.