@go-labs-sg/gosh 0.7.0 → 0.8.1
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 +20 -0
- package/command-manifest.json +2 -2
- package/command-reference.md +2 -2
- package/dist/index.js +1710 -14758
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -97,6 +97,26 @@ gosh event create-from-template \
|
|
|
97
97
|
--allow-state-change
|
|
98
98
|
```
|
|
99
99
|
|
|
100
|
+
### Organization provisioning
|
|
101
|
+
|
|
102
|
+
Only global administrators can provision an organization. `gosh organization create`
|
|
103
|
+
requires `name`, `slug`, and `ownerEmail`; it creates the organization with a
|
|
104
|
+
pending first-owner invitation and emails that address. The provisioner does not
|
|
105
|
+
become a member or owner. The invited person must sign in with that email and
|
|
106
|
+
accept the invitation before they can manage the organization.
|
|
107
|
+
|
|
108
|
+
```bash
|
|
109
|
+
gosh organization create \
|
|
110
|
+
--input '{"name":"Acme Events","slug":"acme-events","ownerEmail":"owner@example.com"}' \
|
|
111
|
+
--target acme-events \
|
|
112
|
+
--allow-state-change \
|
|
113
|
+
--allow-email \
|
|
114
|
+
--allow-external-write
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
The response includes the pending owner invitation and its delivery status; do
|
|
118
|
+
not treat the provisioner as the customer owner.
|
|
119
|
+
|
|
100
120
|
### Shared stations and team routes
|
|
101
121
|
|
|
102
122
|
Create each station once for an event. In a team event, link the same station to
|
package/command-manifest.json
CHANGED
|
@@ -2443,13 +2443,13 @@
|
|
|
2443
2443
|
"summary": "Watch submission review queue changes as newline-delimited JSON."
|
|
2444
2444
|
},
|
|
2445
2445
|
{
|
|
2446
|
-
"effects": ["state-change"],
|
|
2446
|
+
"effects": ["state-change", "email", "external-write"],
|
|
2447
2447
|
"input": "json",
|
|
2448
2448
|
"operation": "mutation",
|
|
2449
2449
|
"path": ["organization", "create"],
|
|
2450
2450
|
"procedure": "organization.create",
|
|
2451
2451
|
"requiresAuth": true,
|
|
2452
|
-
"summary": "
|
|
2452
|
+
"summary": "Provision an organization and email its pending first owner invitation.",
|
|
2453
2453
|
"targetKeys": ["slug", "name"]
|
|
2454
2454
|
},
|
|
2455
2455
|
{
|
package/command-reference.md
CHANGED
|
@@ -940,11 +940,11 @@ Watch submission review queue changes as newline-delimited JSON.
|
|
|
940
940
|
|
|
941
941
|
## `gosh organization create`
|
|
942
942
|
|
|
943
|
-
|
|
943
|
+
Provision an organization and email its pending first owner invitation.
|
|
944
944
|
|
|
945
945
|
- Authentication: browser-authenticated CLI session required
|
|
946
946
|
- Input: `--input '<json>'` required
|
|
947
|
-
- Effects: state-change
|
|
947
|
+
- Effects: state-change, email, external-write
|
|
948
948
|
|
|
949
949
|
## `gosh organization update`
|
|
950
950
|
|