@smartkomm/plexus-cli 0.1.181 → 0.1.183
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
|
-
|
|
1
|
+
f65b497a138f9db5a599e1149e2954be4f56c87cd329f1be946c4e294047df90
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# plexus-cli command reference
|
|
2
2
|
|
|
3
3
|
Generated from the commands the CLI registers — do not edit; `plexus-cli <command> --help` prints the same.
|
|
4
|
-
|
|
4
|
+
299 commands. Every network command also takes `--env <local|staging|prod>`, `--tenant <slug>`,
|
|
5
5
|
`--json` (raw JSON instead of a table) and `--allow-prod` (required for a writing run against production).
|
|
6
6
|
|
|
7
7
|
- [Admission (offline)](#admission-offline) (1)
|
|
@@ -36,7 +36,7 @@ Generated from the commands the CLI registers — do not edit; `plexus-cli <comm
|
|
|
36
36
|
- [Signing (platform operator)](#signing-platform-operator) (5)
|
|
37
37
|
- [Signing (school token)](#signing-school-token) (8)
|
|
38
38
|
- [Stammdaten (platform operator)](#stammdaten-platform-operator) (2)
|
|
39
|
-
- [Stripe (school token)](#stripe-school-token) (
|
|
39
|
+
- [Stripe (school token)](#stripe-school-token) (4)
|
|
40
40
|
- [Tenant users (school token)](#tenant-users-school-token) (17)
|
|
41
41
|
- [Users (platform operator)](#users-platform-operator) (15)
|
|
42
42
|
- [Users (school token)](#users-school-token) (3)
|
|
@@ -3528,6 +3528,13 @@ The school's own half of the decision: may Plexus collect in its name? Off until
|
|
|
3528
3528
|
| `--mode <value>` | Which of the school's accounts: test (the sandbox) or live; optional where the deployment speaks one mode |
|
|
3529
3529
|
| `--off` | Withdraw the consent instead of giving it |
|
|
3530
3530
|
|
|
3531
|
+
### `stripe platform status`
|
|
3532
|
+
|
|
3533
|
+
What SmartKomm's own Stripe account allows per payment mode this deployment speaks: activated (live only), Connect on, and so whether a school's account can be created. Two read-only Stripe calls per mode; a refusal is named with Stripe's own words.
|
|
3534
|
+
|
|
3535
|
+
- **Right:** school token — a module permission inside one school (the school's own administrator runs it)
|
|
3536
|
+
- **Effect:** read — changes nothing on the deployment
|
|
3537
|
+
|
|
3531
3538
|
### `stripe refresh`
|
|
3532
3539
|
|
|
3533
3540
|
Ask Stripe what one Träger's account may do, now. The mirror is normally refreshed by the v2.core.account* events; this is the way out of a stale NO, which is the expensive direction — the school cannot collect although it may. A failed read shows in `stripe status` (error).
|
|
@@ -43,6 +43,13 @@ picks one for you.
|
|
|
43
43
|
## Steps
|
|
44
44
|
|
|
45
45
|
```bash
|
|
46
|
+
# 0. Can the platform open accounts at all? (read-only, per mode; nothing is created)
|
|
47
|
+
plexus-cli stripe platform status --env staging --tenant <slug>
|
|
48
|
+
# canCreateAccounts=no + findings → the reason is the platform's, not the
|
|
49
|
+
# school's: platformNotActivated (live account not activated at Stripe),
|
|
50
|
+
# connectNotEnabled (Connect off), keyInvalid / keyRestricted (deployment key).
|
|
51
|
+
# The same words appear to the school when it presses „Weiter zu Stripe".
|
|
52
|
+
|
|
46
53
|
# 1. Where does this school stand? One row per Träger and mode the deployment speaks.
|
|
47
54
|
plexus-cli stripe status --env staging --tenant <slug>
|
|
48
55
|
# traeger=<key> mode=test state=unconnected → no sandbox account yet.
|