commit 2e448ac3a000529bc4748a8b6219c51d29f9c008
parent 2c1f773a00b64b5f8685e700d0c5ba52ca67e5bf
Author: Florian Dold <florian@dold.me>
Date: Tue, 27 Jan 2026 13:43:25 +0100
wallet-cli: diagnostics subcommand
Diffstat:
1 file changed, 14 insertions(+), 0 deletions(-)
diff --git a/packages/taler-wallet-cli/src/index.ts b/packages/taler-wallet-cli/src/index.ts
@@ -1496,6 +1496,20 @@ const advancedCli = walletCli.subcommand("advancedArgs", "advanced", {
});
advancedCli
+ .subcommand("diagnostics", "diagnostics", {
+ help: "Print diagnostics info.",
+ })
+ .action(async (args) => {
+ await withWallet(args, { lazyTaskLoop: true }, async (wallet) => {
+ const diagResp = await wallet.client.call(
+ WalletApiOperation.TestingGetDiagnostics,
+ {},
+ );
+ console.log(j2s(diagResp));
+ });
+ });
+
+advancedCli
.subcommand("genReserve", "gen-reserve", {
help: "Generate a reserve key pair (not stored in the DB).",
})