diff options
author | Florian Dold <florian@dold.me> | 2021-08-02 10:03:13 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2021-08-02 10:03:13 +0200 |
commit | aaf219807dedae769c526bb12bfbc2e828938920 (patch) | |
tree | 98293ebe76e1b55bc169bf981f7f6a05ae8f2aab | |
parent | 3427e2f01601ff74a712fb34241acc6d38bc2087 (diff) |
debian
-rw-r--r-- | debian/README (renamed from packages/taler-wallet-cli/debian/README) | 0 | ||||
-rw-r--r-- | debian/changelog (renamed from packages/taler-wallet-cli/debian/changelog) | 0 | ||||
-rw-r--r-- | debian/control (renamed from packages/taler-wallet-cli/debian/control) | 0 | ||||
-rw-r--r-- | debian/copyright (renamed from packages/taler-wallet-cli/debian/copyright) | 0 | ||||
-rwxr-xr-x | debian/rules (renamed from packages/taler-wallet-cli/debian/rules) | 8 | ||||
-rw-r--r-- | packages/taler-wallet-cli/src/index.ts | 15 |
6 files changed, 19 insertions, 4 deletions
diff --git a/packages/taler-wallet-cli/debian/README b/debian/README index 2b4f83aa2..2b4f83aa2 100644 --- a/packages/taler-wallet-cli/debian/README +++ b/debian/README diff --git a/packages/taler-wallet-cli/debian/changelog b/debian/changelog index f6521266c..f6521266c 100644 --- a/packages/taler-wallet-cli/debian/changelog +++ b/debian/changelog diff --git a/packages/taler-wallet-cli/debian/control b/debian/control index d44a2e3ee..d44a2e3ee 100644 --- a/packages/taler-wallet-cli/debian/control +++ b/debian/control diff --git a/packages/taler-wallet-cli/debian/copyright b/debian/copyright index 555d608fa..555d608fa 100644 --- a/packages/taler-wallet-cli/debian/copyright +++ b/debian/copyright diff --git a/packages/taler-wallet-cli/debian/rules b/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 |