@keystrokehq/cli 0.0.154 → 0.0.156
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 +25 -0
- package/dist/index.mjs +502 -127
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -39,6 +39,31 @@ keystroke auth logout
|
|
|
39
39
|
|
|
40
40
|
Existing commands do not require auth yet. Use `resolveCliAuth()` when adding protected commands.
|
|
41
41
|
|
|
42
|
+
### Platform commands
|
|
43
|
+
|
|
44
|
+
Org-scoped platform commands use `createCliPlatformClient()` and require `keystroke auth login` plus an active organization (`keystroke config use org <slug>` when you belong to more than one).
|
|
45
|
+
|
|
46
|
+
```bash
|
|
47
|
+
keystroke org update --name "Acme Inc"
|
|
48
|
+
keystroke org members list
|
|
49
|
+
keystroke org members invite --email ada@example.com --role admin
|
|
50
|
+
keystroke org members role <userId> --role builder
|
|
51
|
+
keystroke org members remove <userId>
|
|
52
|
+
keystroke org leave --yes
|
|
53
|
+
keystroke api-key list
|
|
54
|
+
keystroke api-key create --name "CI"
|
|
55
|
+
keystroke api-key revoke <apiKeyId> --yes
|
|
56
|
+
keystroke --project <slug> project members list
|
|
57
|
+
keystroke --project <slug> project members invite --email ada@example.com --role admin
|
|
58
|
+
keystroke --project <slug> project members role <userId> --role builder
|
|
59
|
+
keystroke --project <slug> project members remove <userId>
|
|
60
|
+
keystroke --project <slug> project members leave --yes
|
|
61
|
+
keystroke --project <slug> project settings get
|
|
62
|
+
keystroke --project <slug> project settings update --description "Notes" --default-role builder --invite-permission all
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
`organization` is an alias for `org`. List/get-style commands print JSON; mutations set a non-zero exit code on failure.
|
|
66
|
+
|
|
42
67
|
### `trigger`
|
|
43
68
|
|
|
44
69
|
List triggers and resolve webhook URLs after deploy (requires `keystroke auth login`):
|