@shuffl/cli 0.4.0 → 0.5.0

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
@@ -14,7 +14,7 @@ shuffl --help
14
14
 
15
15
  Or run it without installing: `npx @shuffl/cli --help`. To pin it in a project, add `@shuffl/cli` as a dev dependency and run `npx shuffl`. The CLI is built on [`@shuffl/sdk`](https://www.npmjs.com/package/@shuffl/sdk) and released with it under one version; its operation names, help and input flags are generated from the public API contract.
16
16
 
17
- `shuffl permissions list --json` discovers endpoint grants. Each command’s `--help` shows its permission ID and Read/Write classification. Create a delegated key with `shuffl credentials api create --input-file key-command.json --json`, using a `permissions` array such as `["users.list", "units.save"]`. The issuer must hold `credentials.api.create` and every requested permission. See [endpoint permissions](https://shuffl-rebuild.vercel.app/docs/api-permissions).
17
+ `shuffl permissions list --json` discovers endpoint grants. Each command’s `--help` shows its permission ID and Read/Write classification. Create a delegated key with `shuffl credentials api create --input-file key-command.json --json`, using a `permissions` array such as `["users.list", "groups.save"]`. The issuer must hold `credentials.api.create` and every requested permission. See [endpoint permissions](https://shuffl-rebuild.vercel.app/docs/api-permissions).
18
18
 
19
19
  ## Authentication and commands
20
20
 
@@ -48,8 +48,8 @@ Programs are created paused by default. Keep the same `requestKey` for a retry,
48
48
  Management resources use the same nested command names as the [SDK](https://shuffl-rebuild.vercel.app/docs/sdk):
49
49
 
50
50
  ```sh
51
- shuffl units list --json
52
- shuffl units save --input-file team-command.json --json
51
+ shuffl groups list --json
52
+ shuffl groups save --input-file group-command.json --json
53
53
  shuffl commands get --id RECEIPT_ID --json
54
54
  shuffl knowledge sources import-pdf --input-file pdf-command.json --json
55
55
  ```