libeufin

Integration and sandbox testing for FinTech APIs and data formats
Log | Files | Refs | Submodules | README | LICENSE

commit f780713a659f4d2aa3d81adba1d02101454d3c34
parent 914fbb6d7ea282d1e012fe1a699dd92e9e79426a
Author: MS <ms@taler.net>
Date:   Mon, 23 Aug 2021 02:11:27 -1100

add Sandbox CLI command to wire-transfer

Diffstat:
Msandbox/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 @@ -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 {