@vidos-id/openid4vc-wallet-cli 0.10.0 → 0.10.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -10,20 +10,24 @@ Running `openid4vc-wallet` with no subcommand starts the interactive mode by def
10
10
 
11
11
  ## Install
12
12
 
13
- Download the latest GitHub Release artifact and make it executable:
13
+ Install the published CLI from npmjs:
14
14
 
15
15
  ```bash
16
- curl -L -o openid4vc-wallet https://github.com/vidos-id/openid4vc-tools/releases/latest/download/openid4vc-wallet.js
17
- chmod +x openid4vc-wallet
18
- ./openid4vc-wallet --help
16
+ bun install -g @vidos-id/openid4vc-wallet-cli
17
+ openid4vc-wallet --help
19
18
  ```
20
19
 
21
- Release artifacts do not bundle the repo's `examples/` directory. For remote example requests, pass raw GitHub content via `--request` or raw offer content via `--offer`.
20
+ Or with npm:
21
+
22
+ ```bash
23
+ npm install -g @vidos-id/openid4vc-wallet-cli
24
+ openid4vc-wallet --help
25
+ ```
22
26
 
23
27
  For development in this repo, you can run the bin entry directly with Bun:
24
28
 
25
29
  ```bash
26
- bun packages/wallet-cli/src/index.ts --help
30
+ bun packages/wallet-cli/src/cli.ts --help
27
31
  ```
28
32
 
29
33
  ## Files in `--wallet-dir`
package/dist/cli.d.mts ADDED
@@ -0,0 +1 @@
1
+ export { };
package/dist/cli.mjs ADDED
@@ -0,0 +1,9 @@
1
+ #!/usr/bin/env node
2
+ import { n as runCli } from "./src-CneBTuze.mjs";
3
+ import { handleCliError } from "@vidos-id/openid4vc-cli-common";
4
+ //#region src/cli.ts
5
+ runCli().catch((error) => {
6
+ handleCliError(error);
7
+ });
8
+ //#endregion
9
+ export {};