diff --git a/packages/taler-wallet-cli/debian/README b/debian/README similarity index 100% rename from packages/taler-wallet-cli/debian/README rename to debian/README diff --git a/packages/taler-wallet-cli/debian/changelog b/debian/changelog similarity index 100% rename from packages/taler-wallet-cli/debian/changelog rename to debian/changelog diff --git a/packages/taler-wallet-cli/debian/control b/debian/control similarity index 100% rename from packages/taler-wallet-cli/debian/control rename to debian/control diff --git a/packages/taler-wallet-cli/debian/copyright b/debian/copyright similarity index 100% rename from packages/taler-wallet-cli/debian/copyright rename to debian/copyright diff --git a/packages/taler-wallet-cli/debian/rules b/debian/rules similarity index 60% rename from packages/taler-wallet-cli/debian/rules rename to debian/rules index f6db618f4..4c655fcb4 100755 --- a/packages/taler-wallet-cli/debian/rules +++ b/debian/rules @@ -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: diff --git a/packages/taler-wallet-cli/src/index.ts b/packages/taler-wallet-cli/src/index.ts index ab807cbb7..ddc8b16b8 100644 --- a/packages/taler-wallet-cli/src/index.ts +++ b/packages/taler-wallet-cli/src/index.ts @@ -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