aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-cli/src/index.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2021-08-04 17:14:52 +0200
committerFlorian Dold <florian@dold.me>2021-08-04 17:14:52 +0200
commitf88e14f66d37c339816cb9ba73a84491e7133307 (patch)
treea6709627512ff9f7e6fd4a14d7a99669c9a95949 /packages/taler-wallet-cli/src/index.ts
parent18c8cebbcd85e7345607572be4c66dff940ad776 (diff)
downloadwallet-core-f88e14f66d37c339816cb9ba73a84491e7133307.tar.xz
towards exchange linting
Diffstat (limited to 'packages/taler-wallet-cli/src/index.ts')
-rw-r--r--packages/taler-wallet-cli/src/index.ts8
1 files changed, 5 insertions, 3 deletions
diff --git a/packages/taler-wallet-cli/src/index.ts b/packages/taler-wallet-cli/src/index.ts
index 26ee95661..f21e98f0a 100644
--- a/packages/taler-wallet-cli/src/index.ts
+++ b/packages/taler-wallet-cli/src/index.ts
@@ -55,7 +55,7 @@ import {
WalletCoreApiClient,
Wallet,
} from "@gnu-taler/taler-wallet-core";
-import { lintDeployment } from "./lint.js";
+import { lintExchangeDeployment } from "./lint.js";
// This module also serves as the entry point for the crypto
// thread worker, and thus must expose these two handlers.
@@ -870,8 +870,10 @@ const deploymentCli = walletCli.subcommand("deploymentArgs", "deployment", {
help: "Subcommands for handling GNU Taler deployments.",
});
-deploymentCli.subcommand("lint", "lint").action(async (args) => {
- lintDeployment();
+deploymentCli.subcommand("lintExchange", "lint-exchange", {
+ help: "Run checks on the exchange deployment."
+}).action(async (args) => {
+ await lintExchangeDeployment();
});
deploymentCli