libeufin

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

commit 7b3701e4e9d595e16fe42c28a363d94e12d16955
parent f94b2e4df766bcbcf954e1653b5bcda233b5d1da
Author: Florian Dold <florian@dold.me>
Date:   Fri,  4 Nov 2022 13:35:31 +0100

fallback for config option

Diffstat:
Msandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt b/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt @@ -142,9 +142,10 @@ class Config : CliktCommand( "--show", help = "Only show values, other options will be ignored." ).flag("--no-show", default = false) + // FIXME: This really should not be a global option! private val captchaUrlOption by option( "--captcha-url", help = "Needed for browser wallets." - ) + ).default("https://bank.demo.taler.net/") private val currencyOption by option("--currency").default("EUR") private val bankDebtLimitOption by option("--bank-debt-limit").int().default(1000000) private val usersDebtLimitOption by option("--users-debt-limit").int().default(1000)