aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-cli/src/index.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2022-10-05 16:01:59 +0200
committerFlorian Dold <florian@dold.me>2022-10-05 16:01:59 +0200
commit99ace8b7d24416f2b184d66006c89b61935e132e (patch)
treead801a936ed6c05c4fb3a16be324f0de50654d8e /packages/taler-wallet-cli/src/index.ts
parent70d37e4ed30e69c4b3ba2d31a50fd61d82b91252 (diff)
downloadwallet-core-99ace8b7d24416f2b184d66006c89b61935e132e.tar.xz
integration tests: make test-wallet-cryptoworker pass
Diffstat (limited to 'packages/taler-wallet-cli/src/index.ts')
-rw-r--r--packages/taler-wallet-cli/src/index.ts10
1 files changed, 9 insertions, 1 deletions
diff --git a/packages/taler-wallet-cli/src/index.ts b/packages/taler-wallet-cli/src/index.ts
index 47a520c83..c1afbe15c 100644
--- a/packages/taler-wallet-cli/src/index.ts
+++ b/packages/taler-wallet-cli/src/index.ts
@@ -182,7 +182,7 @@ export const walletCli = clk
},
})
.maybeOption("cryptoWorker", ["--crypto-worker"], clk.STRING, {
- help: "Override crypto worker implementation type."
+ help: "Override crypto worker implementation type.",
})
.maybeOption("log", ["-L", "--log"], clk.STRING, {
help: "configure log level (NONE, ..., TRACE)",
@@ -730,6 +730,14 @@ const advancedCli = walletCli.subcommand("advancedArgs", "advanced", {
});
advancedCli
+ .subcommand("init", "init", {
+ help: "Initialize the wallet (with DB) and exit."
+ })
+ .action(async (args) => {
+ await withWallet(args, async () => {});
+ });
+
+advancedCli
.subcommand("bench1", "bench1", {
help: "Run the 'bench1' benchmark",
})