diff options
author | Florian Dold <florian@dold.me> | 2024-06-29 14:16:34 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2024-06-29 14:16:46 +0200 |
commit | 98d7a238a615e7dc801bbfdf85188197b91f6083 (patch) | |
tree | 6600629dc2b8a70202dd4819d716a5b666cc4020 /packages/taler-wallet-cli | |
parent | 698be4c436240e97f66a66c3af23192033c818b3 (diff) |
wallet-core: request handler refactoring WIP
Diffstat (limited to 'packages/taler-wallet-cli')
-rw-r--r-- | packages/taler-wallet-cli/src/index.ts | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/packages/taler-wallet-cli/src/index.ts b/packages/taler-wallet-cli/src/index.ts index c165b548c..be74e464b 100644 --- a/packages/taler-wallet-cli/src/index.ts +++ b/packages/taler-wallet-cli/src/index.ts @@ -1380,13 +1380,8 @@ advancedCli advancedCli .subcommand("pending", "pending", { help: "Show pending operations." }) .action(async (args) => { - await withWallet(args, { lazyTaskLoop: true }, async (wallet) => { - const pending = await wallet.client.call( - WalletApiOperation.GetPendingOperations, - {}, - ); - console.log(JSON.stringify(pending, undefined, 2)); - }); + console.error("Subcommand removed due to deprecation."); + process.exit(1); }); advancedCli |