From f88e14f66d37c339816cb9ba73a84491e7133307 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Wed, 4 Aug 2021 17:14:52 +0200 Subject: towards exchange linting --- packages/taler-wallet-cli/src/index.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'packages/taler-wallet-cli/src/index.ts') 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 -- cgit v1.2.3