This commit is contained in:
Florian Dold 2021-08-02 10:03:13 +02:00
parent 3427e2f016
commit aaf219807d
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B
6 changed files with 19 additions and 4 deletions

View File

@ -3,6 +3,8 @@ include /usr/share/dpkg/default.mk
TALER_WALLET_HOME = /usr/share/taler-wallet-cli
cli_dir=src/packages/taler-wallet-cli
build: build-arch build-indep
build-arch:
@ -10,9 +12,9 @@ build-arch:
build-indep:
true
override_dh_auto_install:
dh_install bin/taler-wallet-cli $(TALER_WALLET_HOME)/node_modules/taler-wallet-cli/bin
dh_install dist/taler-wallet-cli.js $(TALER_WALLET_HOME)/node_modules/taler-wallet-cli/dist
dh_install dist/taler-wallet-cli.js.map $(TALER_WALLET_HOME)/node_modules/taler-wallet-cli/dist
dh_install $(cli_dir)/bin/taler-wallet-cli $(TALER_WALLET_HOME)/node_modules/taler-wallet-cli/bin
dh_install $(cli_dir)/dist/taler-wallet-cli.js $(TALER_WALLET_HOME)/node_modules/taler-wallet-cli/dist
dh_install $(cli_dir)/dist/taler-wallet-cli.js.map $(TALER_WALLET_HOME)/node_modules/taler-wallet-cli/dist
dh_link $(TALER_WALLET_HOME)/node_modules/taler-wallet-cli/bin/taler-wallet-cli /usr/bin/taler-wallet-cli
binary:

View File

@ -39,6 +39,7 @@ import {
codecForList,
codecForString,
Logger,
Configuration,
} from "@gnu-taler/taler-util";
import {
NodeHttpLib,
@ -863,8 +864,20 @@ advancedCli
});
});
const deploymentCli = walletCli.subcommand("deploymentArgs", "deployment", {
help: "Subcommands for handling GNU Taler deployments.",
});
const deploymentConfigCli = deploymentCli.subcommand("configArgs", "config", {
help: "Subcommands the Taler configuration.",
});
deploymentConfigCli.subcommand("show", "show").action(async (args) => {
const cfg = new Configuration();
});
const testCli = walletCli.subcommand("testingArgs", "testing", {
help: "Subcommands for testing GNU Taler deployments.",
help: "Subcommands for testing.",
});
testCli