@smartkomm/plexus-cli 0.1.199 → 0.1.200

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.
@@ -1 +1 @@
1
- 7a9ef65e3086691195618b6d1fe33c902e3c888b86f3b10798f50d487444d01f
1
+ c4efa3288b285051661e5b5badd5b0c725803f8883478afcbed087e239eb621d
@@ -15,8 +15,9 @@ admission:staffStartApplicationForParty` / `workflow:runTestAction` / `admission
15
15
  and the second for every test action.
16
16
  - The applicant: an existing account of this school (`--applicant <login address>`) or its
17
17
  party id (`--party`). Creating an account has no verb (it needs the cockpit's password flow).
18
- - School year and level by **key or id** — never by name (`applications start-test` lists
19
- both when one does not match).
18
+ - School year and level by **bundle key or id** — the key `offer export` shows
19
+ (`program.runs[].key`, `program.stages[].key`, the same `offer capacity set` takes), never
20
+ the name and never the stored database key (`<program>-stufe-<key>`); a miss lists the bundle keys and ids.
20
21
 
21
22
  ## Steps
22
23
  ```bash
@@ -24,7 +25,7 @@ E="--env staging --tenant test"
24
25
 
25
26
  # 1. Start (always test mode); prints the application id and what test mode offers now.
26
27
  plexus-cli $E applications start-test --offer grundschule-havelland \
27
- --run <runKey|runId> --stage klasse-1 --applicant test@example.com
28
+ --run <runKey|runId> --stage <stageKey|stageId> --applicant test@example.com
28
29
  # An offer that declares staff inputs needs each one, once:
29
30
  # --staff-input staffApplication=false (see ../offer/staff-input-if-node.md)
30
31
 
@@ -55,8 +56,8 @@ plexus-cli $E applications counts --offer grundschule-havelland
55
56
  ## Idempotency / gotchas
56
57
  - `start-test` creates a new application on every call; `discard-test` on a real application
57
58
  is refused by the server.
58
- - `--run`/`--stage` match a key or an id only; a display name is refused with the list of
59
- what exists. A closed school year is refused.
59
+ - `--run`/`--stage` match a bundle key or an id only; a display name is refused with the list
60
+ of what exists, a stored key (`gs-stufe-klasse-1`) with the bundle key it stands for (`klasse-1`). A closed school year is refused.
60
61
  - Without `--version` the application runs on the offer's live generation (as in the cockpit).
61
62
  `plexus-cli offer versions --offer <slug>` lists every generation (draft, internal, live,
62
63
  archived) with the `offerVersionId` that `--version` takes.
@@ -175,8 +175,8 @@ Start a TEST application for an applicant (school year and level by key or id) a
175
175
  | Option | Description |
176
176
  |---|---|
177
177
  | `--offer <value>` (required) | Offer slug (its offerKey) |
178
- | `--run <value>` (required) | School year: its key or id (never its name) |
179
- | `--stage <value>` (required) | Level: its key or id (never its name) |
178
+ | `--run <value>` (required) | School year: its bundle key as offer export shows it (program.runs[].key) or id — never its name |
179
+ | `--stage <value>` (required) | Level: its bundle key as offer export shows it (program.stages[].key) or id — never its name |
180
180
  | `--party <value>` | Applicant party id |
181
181
  | `--applicant <value>` | Applicant account login address (e.g. the test account test@example.com) |
182
182
  | `--version <value>` | Offer version id to test (default: the live generation) |