diff options
author | Florian Dold <florian@dold.me> | 2023-04-13 19:36:04 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-04-13 20:05:00 +0200 |
commit | e345e8bd2314ebfc55c2ee7a23fb7849ce79bf84 (patch) | |
tree | d740a8d720de23bc471b569eecff70f091309849 /packages/taler-wallet-cli/src/index.ts | |
parent | 30c01185fc0b6bdc37327b2448e4748564fa8e3a (diff) | |
download | wallet-core-e345e8bd2314ebfc55c2ee7a23fb7849ce79bf84.tar.xz |
taler-wallet-cli: subcommand to print sample transactions
Diffstat (limited to 'packages/taler-wallet-cli/src/index.ts')
-rw-r--r-- | packages/taler-wallet-cli/src/index.ts | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/packages/taler-wallet-cli/src/index.ts b/packages/taler-wallet-cli/src/index.ts index fc67d55cd..fadf84d5c 100644 --- a/packages/taler-wallet-cli/src/index.ts +++ b/packages/taler-wallet-cli/src/index.ts @@ -27,18 +27,25 @@ import { CoreApiResponse, Duration, encodeCrock, + ExtendedStatus, getErrorDetailFromException, getRandomBytes, j2s, Logger, parsePaytoUri, + PaymentStatus, PreparePayResultType, RecoveryMergeStrategy, + RefreshReason, + sampleWalletCoreTransactions, setDangerousTimetravel, setGlobalLogLevelFromString, summarizeTalerErrorDetail, TalerUriType, Transaction, + TransactionState, + TransactionSubstate, + TransactionType, WalletNotification, } from "@gnu-taler/taler-util"; import { clk } from "@gnu-taler/taler-util/clk"; @@ -1134,9 +1141,7 @@ advancedCli help: "Print sample wallet-core transactions", }) .action(async (args) => { - let transactions: Transaction[] = [ - - ]; + console.log(JSON.stringify(sampleWalletCoreTransactions, undefined, 2)); }); advancedCli |