@temps-sdk/cli 0.1.38 → 0.2.0-beta.2
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 +14 -0
- package/dist/index.js +63877 -40097
- package/dist/skills/temps/SKILL.md +18 -9
- package/dist/skills/temps/evals/evals.json +23 -6
- package/dist/skills/temps/howtos/agent-handoff.md +106 -0
- package/dist/skills/temps/howtos/ci-automation.md +2 -3
- package/dist/skills/temps/howtos/curated-services.md +69 -0
- package/dist/skills/temps/howtos/deploy-application.md +8 -1
- package/dist/skills/temps/howtos/edge-rules.md +135 -0
- package/dist/skills/temps/howtos/managed-services.md +4 -4
- package/dist/skills/temps/howtos/projects-and-monorepos.md +2 -1
- package/dist/skills/temps/references/cli-runtime.md +10 -18
- package/dist/skills/temps/references/commands/INDEX.md +11 -0
- package/dist/skills/temps/references/commands/access.md +4 -0
- package/dist/skills/temps/references/commands/agents.md +731 -0
- package/dist/skills/temps/references/commands/ai.md +2638 -9
- package/dist/skills/temps/references/commands/alarms.md +129 -0
- package/dist/skills/temps/references/commands/analytics.md +1199 -2
- package/dist/skills/temps/references/commands/apikeys.md +50 -1
- package/dist/skills/temps/references/commands/audit.md +1 -0
- package/dist/skills/temps/references/commands/backups.md +312 -0
- package/dist/skills/temps/references/commands/blob.md +169 -0
- package/dist/skills/temps/references/commands/cloud.md +73 -0
- package/dist/skills/temps/references/commands/cluster.md +223 -0
- package/dist/skills/temps/references/commands/configure.md +7 -0
- package/dist/skills/temps/references/commands/containers.md +45 -0
- package/dist/skills/temps/references/commands/context.md +6 -0
- package/dist/skills/temps/references/commands/custom-domains.md +32 -0
- package/dist/skills/temps/references/commands/data.md +11 -13
- package/dist/skills/temps/references/commands/deploy-image.md +3 -1
- package/dist/skills/temps/references/commands/deploy-local-image.md +3 -0
- package/dist/skills/temps/references/commands/deploy.md +2 -0
- package/dist/skills/temps/references/commands/deployments.md +560 -0
- package/dist/skills/temps/references/commands/dns-provider.md +63 -0
- package/dist/skills/temps/references/commands/domains.md +105 -0
- package/dist/skills/temps/references/commands/drop.md +2 -0
- package/dist/skills/temps/references/commands/edge-rules.md +218 -0
- package/dist/skills/temps/references/commands/email-domains.md +1 -0
- package/dist/skills/temps/references/commands/email-providers.md +64 -1
- package/dist/skills/temps/references/commands/emails.md +91 -0
- package/dist/skills/temps/references/commands/env-pull.md +2 -0
- package/dist/skills/temps/references/commands/env-push.md +2 -0
- package/dist/skills/temps/references/commands/environments.md +695 -2
- package/dist/skills/temps/references/commands/errors.md +1134 -61
- package/dist/skills/temps/references/commands/facets.md +6 -0
- package/dist/skills/temps/references/commands/flags.md +179 -0
- package/dist/skills/temps/references/commands/funnels.md +22 -2
- package/dist/skills/temps/references/commands/incidents.md +22 -0
- package/dist/skills/temps/references/commands/init.md +2 -0
- package/dist/skills/temps/references/commands/instances.md +6 -0
- package/dist/skills/temps/references/commands/instantiations.md +4 -0
- package/dist/skills/temps/references/commands/ip-access.md +96 -1
- package/dist/skills/temps/references/commands/kv.md +184 -0
- package/dist/skills/temps/references/commands/link.md +2 -0
- package/dist/skills/temps/references/commands/load-balancer.md +2 -0
- package/dist/skills/temps/references/commands/login.md +9 -1
- package/dist/skills/temps/references/commands/logs.md +405 -10
- package/dist/skills/temps/references/commands/mcp-servers.md +4 -0
- package/dist/skills/temps/references/commands/mcp.md +8 -1
- package/dist/skills/temps/references/commands/migrate.md +26 -0
- package/dist/skills/temps/references/commands/monitors.md +456 -0
- package/dist/skills/temps/references/commands/network-policy.md +147 -0
- package/dist/skills/temps/references/commands/nodes.md +209 -2
- package/dist/skills/temps/references/commands/notifications.md +173 -2
- package/dist/skills/temps/references/commands/open.md +2 -0
- package/dist/skills/temps/references/commands/otel-forward.md +16 -0
- package/dist/skills/temps/references/commands/otel.md +436 -0
- package/dist/skills/temps/references/commands/platform.md +57 -0
- package/dist/skills/temps/references/commands/plugin.md +106 -1
- package/dist/skills/temps/references/commands/presets.md +2 -0
- package/dist/skills/temps/references/commands/preview-gateway.md +91 -0
- package/dist/skills/temps/references/commands/project-groups.md +72 -4
- package/dist/skills/temps/references/commands/projects.md +509 -4
- package/dist/skills/temps/references/commands/providers.md +533 -1
- package/dist/skills/temps/references/commands/proxy-logs.md +111 -0
- package/dist/skills/temps/references/commands/revenue.md +223 -0
- package/dist/skills/temps/references/commands/rollback.md +2 -0
- package/dist/skills/temps/references/commands/sandbox.md +790 -10
- package/dist/skills/temps/references/commands/secrets.md +19 -6
- package/dist/skills/temps/references/commands/server.md +107 -0
- package/dist/skills/temps/references/commands/services.md +836 -5
- package/dist/skills/temps/references/commands/session-replay.md +8 -0
- package/dist/skills/temps/references/commands/settings.md +346 -0
- package/dist/skills/temps/references/commands/shield.md +354 -0
- package/dist/skills/temps/references/commands/skills.md +6 -0
- package/dist/skills/temps/references/commands/start.md +1 -0
- package/dist/skills/temps/references/commands/status-pages.md +376 -9
- package/dist/skills/temps/references/commands/status.md +2 -0
- package/dist/skills/temps/references/commands/surveys.md +165 -0
- package/dist/skills/temps/references/commands/teams.md +28 -0
- package/dist/skills/temps/references/commands/templates.md +22 -2
- package/dist/skills/temps/references/commands/tokens.md +106 -0
- package/dist/skills/temps/references/commands/traces.md +207 -0
- package/dist/skills/temps/references/commands/traefik-discovery.md +10 -0
- package/dist/skills/temps/references/commands/tunnels.md +141 -0
- package/dist/skills/temps/references/commands/up.md +2 -0
- package/dist/skills/temps/references/commands/users.md +127 -0
- package/dist/skills/temps/references/commands/vault.md +662 -0
- package/dist/skills/temps/references/commands/webhooks.md +10 -0
- package/dist/skills/temps/references/commands/workflow.md +2 -0
- package/dist/skills/temps/references/commands/workflows.md +563 -0
- package/dist/skills/temps/references/observability/analytics.md +2 -2
- package/dist/skills/temps/references/workflows/platform-operations.md +46 -36
- package/dist/skills/temps/scripts/generate_command_references.py +5 -3
- package/dist/skills/temps/scripts/test_generate_command_references.py +3 -1
- package/dist/skills/temps/scripts/test_validate_skill.py +25 -66
- package/dist/skills/temps/scripts/validate_skill.py +29 -43
- package/package.json +9 -3
- package/dist/skills/temps/scripts/__pycache__/generate_command_references.cpython-314.pyc +0 -0
- package/dist/skills/temps/scripts/__pycache__/test_generate_command_references.cpython-314.pyc +0 -0
- package/dist/skills/temps/scripts/__pycache__/test_validate_skill.cpython-314.pyc +0 -0
- package/dist/skills/temps/scripts/__pycache__/validate_skill.cpython-314.pyc +0 -0
|
@@ -4,14 +4,36 @@
|
|
|
4
4
|
|
|
5
5
|
Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing a command. Runtime `--help` is authoritative.
|
|
6
6
|
|
|
7
|
+
## Contents
|
|
8
|
+
|
|
9
|
+
- [`status-pages list`](#status-pages-list-alias-ls)
|
|
10
|
+
- [`status-pages create`](#status-pages-create)
|
|
11
|
+
- [`status-pages show`](#status-pages-show)
|
|
12
|
+
- [`status-pages update`](#status-pages-update)
|
|
13
|
+
- [`status-pages publish`](#status-pages-publish)
|
|
14
|
+
- [`status-pages unpublish`](#status-pages-unpublish)
|
|
15
|
+
- [`status-pages rotate-url`](#status-pages-rotate-url)
|
|
16
|
+
- [`status-pages delete`](#status-pages-delete-alias-rm)
|
|
17
|
+
- [`status-pages domains`](#status-pages-domains-alias-domain)
|
|
18
|
+
- [`status-pages subscriptions`](#status-pages-subscriptions)
|
|
19
|
+
- [`status-pages subscribers`](#status-pages-subscribers)
|
|
20
|
+
- [`status-pages maintenance`](#status-pages-maintenance)
|
|
21
|
+
- [`status-pages webhooks`](#status-pages-webhooks)
|
|
22
|
+
- [`status-pages password`](#status-pages-password)
|
|
23
|
+
- [`status-pages get-overview`](#status-pages-get-overview)
|
|
24
|
+
- [`status-pages get-maintenance`](#status-pages-get-maintenance)
|
|
25
|
+
- [`status-pages preview`](#status-pages-preview)
|
|
26
|
+
- [`status-pages get-public-feed`](#status-pages-get-public-feed)
|
|
27
|
+
- [`status-pages get-public-json`](#status-pages-get-public-json)
|
|
28
|
+
|
|
7
29
|
## `status-pages` (alias: `status-page`)
|
|
8
30
|
|
|
9
|
-
Publish public status pages
|
|
31
|
+
Publish public status pages showing monitors from any of your projects
|
|
10
32
|
|
|
11
33
|
**Subcommands:**
|
|
12
34
|
|
|
13
|
-
- `list` (`ls`) - List
|
|
14
|
-
- `create` - Create a draft status page
|
|
35
|
+
- `list` (`ls`) - List status pages, optionally only those showing one project
|
|
36
|
+
- `create` - Create a draft status page; monitors may come from any project
|
|
15
37
|
- `show` - Show a status page
|
|
16
38
|
- `update` - Change the title, description or monitor selection
|
|
17
39
|
- `publish` - Publish the page at its public URL
|
|
@@ -19,31 +41,49 @@ Publish public status pages for selected monitors
|
|
|
19
41
|
- `rotate-url` - Replace the public URL; the old one stops working
|
|
20
42
|
- `delete` (`rm`) - Delete a status page; its public URL returns 404 immediately
|
|
21
43
|
- `domains` (`domain`) - Serve a status page on your own hostname
|
|
44
|
+
- `subscriptions` - Let visitors subscribe to a status page by email
|
|
45
|
+
- `subscribers` - List, export or delete the subscribers of a status page
|
|
46
|
+
- `maintenance` - Schedule maintenance windows: shown on the page, no outage alerts, no downtime counted
|
|
47
|
+
- `webhooks` - Post every public update of a status page to signed HTTPS webhooks
|
|
48
|
+
- `password` - Protect a status page with a password
|
|
49
|
+
- `get-overview` - Get status page overview
|
|
50
|
+
- `get-maintenance` - A maintenance window
|
|
51
|
+
- `preview` - Preview what a status page shows visitors, published or not
|
|
52
|
+
- `get-public-feed` - Public status page (Atom feed)
|
|
53
|
+
- `get-public-json` - Public status page (JSON)
|
|
22
54
|
|
|
23
55
|
### `status-pages list` (alias: `ls`)
|
|
24
56
|
|
|
25
|
-
List
|
|
57
|
+
List status pages, optionally only those showing one project
|
|
26
58
|
|
|
27
59
|
**Options:**
|
|
28
60
|
|
|
29
61
|
| Flag | Description | Default | Required |
|
|
30
62
|
|------|-------------|---------|----------|
|
|
31
|
-
| `--project-id <id>` |
|
|
63
|
+
| `--project-id <id>` | Only pages with a component from this project | - | No |
|
|
32
64
|
| `--json` | Output in JSON format | - | No |
|
|
33
65
|
|
|
34
66
|
### `status-pages create`
|
|
35
67
|
|
|
36
|
-
Create a draft status page
|
|
68
|
+
Create a draft status page; monitors may come from any project
|
|
37
69
|
|
|
38
70
|
**Options:**
|
|
39
71
|
|
|
40
72
|
| Flag | Description | Default | Required |
|
|
41
73
|
|------|-------------|---------|----------|
|
|
42
|
-
| `--project-id <id>` | Project ID | - | Yes |
|
|
43
74
|
| `-t, --title <title>` | Public page title | - | Yes |
|
|
75
|
+
| `-m, --monitor <id=name>` | Monitor to show and its public name (repeatable) | - | Yes |
|
|
76
|
+
| `-g, --group <name=ids>` | Show monitors together under a group, e.g. "Cloud=12,13" (repeatable) | - | No |
|
|
44
77
|
| `-d, --description <text>` | Public description | - | No |
|
|
45
|
-
| `-m, --monitor <id=name>` | Monitor to show and its public name (repeatable) | - | No |
|
|
46
78
|
| `--json` | Output in JSON format | - | No |
|
|
79
|
+
| `--theme <value>` | Color scheme of the public page (one of: auto, light, dark) | - | No |
|
|
80
|
+
| `--accent-color <value>` | Accent color, e.g. #2563eb | - | No |
|
|
81
|
+
| `--logo-url <value>` | HTTPS URL of the logo shown in the header | - | No |
|
|
82
|
+
| `--website-url <value>` | Where the logo links to | - | No |
|
|
83
|
+
| `--show-response-times` | Show monitor response times | - | No |
|
|
84
|
+
| `--no-show-response-times` | Set show_response_times to false | - | No |
|
|
85
|
+
| `--show-uptime-percentage` | Show uptime percentages | - | No |
|
|
86
|
+
| `--no-show-uptime-percentage` | Set show_uptime_percentage to false | - | No |
|
|
47
87
|
|
|
48
88
|
### `status-pages show`
|
|
49
89
|
|
|
@@ -68,8 +108,16 @@ Change the title, description or monitor selection
|
|
|
68
108
|
| `-t, --title <title>` | Public page title | - | No |
|
|
69
109
|
| `-d, --description <text>` | Public description ("" clears it) | - | No |
|
|
70
110
|
| `-m, --monitor <id=name>` | Replace the selection; repeat for each monitor | - | No |
|
|
71
|
-
|
|
|
111
|
+
| `-g, --group <name=ids>` | With --monitor: group monitors, e.g. "Cloud=12,13" (repeatable) | - | No |
|
|
72
112
|
| `--json` | Output in JSON format | - | No |
|
|
113
|
+
| `--theme <value>` | Color scheme of the public page (one of: auto, light, dark) | - | No |
|
|
114
|
+
| `--accent-color <value>` | Accent color, e.g. #2563eb | - | No |
|
|
115
|
+
| `--logo-url <value>` | HTTPS URL of the logo shown in the header | - | No |
|
|
116
|
+
| `--website-url <value>` | Where the logo links to | - | No |
|
|
117
|
+
| `--show-response-times` | Show monitor response times | - | No |
|
|
118
|
+
| `--no-show-response-times` | Set show_response_times to false | - | No |
|
|
119
|
+
| `--show-uptime-percentage` | Show uptime percentages | - | No |
|
|
120
|
+
| `--no-show-uptime-percentage` | Set show_uptime_percentage to false | - | No |
|
|
73
121
|
|
|
74
122
|
### `status-pages publish`
|
|
75
123
|
|
|
@@ -186,3 +234,322 @@ Detach a hostname; it answers 404 immediately and its certificate is deleted
|
|
|
186
234
|
| `--id <id>` | Status page ID | - | Yes |
|
|
187
235
|
| `--domain-id <id>` | Custom domain ID (see `domains list`) | - | Yes |
|
|
188
236
|
| `-y, --yes` | Skip the confirmation prompt | - | No |
|
|
237
|
+
|
|
238
|
+
### `status-pages subscriptions`
|
|
239
|
+
|
|
240
|
+
Let visitors subscribe to a status page by email
|
|
241
|
+
|
|
242
|
+
**Subcommands:**
|
|
243
|
+
|
|
244
|
+
- `show` - Show whether visitors can subscribe, the sender and what is missing
|
|
245
|
+
- `set` - Switch subscriptions on or off, or set the sender address
|
|
246
|
+
|
|
247
|
+
#### `status-pages subscriptions show`
|
|
248
|
+
|
|
249
|
+
Show whether visitors can subscribe, the sender and what is missing
|
|
250
|
+
|
|
251
|
+
**Options:**
|
|
252
|
+
|
|
253
|
+
| Flag | Description | Default | Required |
|
|
254
|
+
|------|-------------|---------|----------|
|
|
255
|
+
| `--id <id>` | Status page ID | - | Yes |
|
|
256
|
+
| `--json` | Output in JSON format | - | No |
|
|
257
|
+
|
|
258
|
+
#### `status-pages subscriptions set`
|
|
259
|
+
|
|
260
|
+
Switch subscriptions on or off, or set the sender address
|
|
261
|
+
|
|
262
|
+
**Options:**
|
|
263
|
+
|
|
264
|
+
| Flag | Description | Default | Required |
|
|
265
|
+
|------|-------------|---------|----------|
|
|
266
|
+
| `--id <id>` | Status page ID | - | Yes |
|
|
267
|
+
| `--enable` | Show the subscribe form on the public page | - | No |
|
|
268
|
+
| `--disable` | Hide the subscribe form and stop sending | - | No |
|
|
269
|
+
| `--sender <address>` | From address at a verified email domain ("" clears it) | - | No |
|
|
270
|
+
| `--json` | Output in JSON format | - | No |
|
|
271
|
+
|
|
272
|
+
### `status-pages subscribers`
|
|
273
|
+
|
|
274
|
+
List, export or delete the subscribers of a status page
|
|
275
|
+
|
|
276
|
+
**Subcommands:**
|
|
277
|
+
|
|
278
|
+
- `list` (`ls`) - List subscribers, newest first
|
|
279
|
+
- `export` - Export every subscriber as CSV (email,state,subscribed_at,confirmed_at)
|
|
280
|
+
- `delete` (`rm`) - Delete a subscriber; the address gets no more mail
|
|
281
|
+
|
|
282
|
+
#### `status-pages subscribers list` (alias: `ls`)
|
|
283
|
+
|
|
284
|
+
List subscribers, newest first
|
|
285
|
+
|
|
286
|
+
**Options:**
|
|
287
|
+
|
|
288
|
+
| Flag | Description | Default | Required |
|
|
289
|
+
|------|-------------|---------|----------|
|
|
290
|
+
| `--id <id>` | Status page ID | - | Yes |
|
|
291
|
+
| `--page <n>` | Page number | `1` | No |
|
|
292
|
+
| `--page-size <n>` | Items per page (max 100) | `20` | No |
|
|
293
|
+
| `--json` | Output in JSON format | - | No |
|
|
294
|
+
|
|
295
|
+
#### `status-pages subscribers export`
|
|
296
|
+
|
|
297
|
+
Export every subscriber as CSV (email,state,subscribed_at,confirmed_at)
|
|
298
|
+
|
|
299
|
+
**Options:**
|
|
300
|
+
|
|
301
|
+
| Flag | Description | Default | Required |
|
|
302
|
+
|------|-------------|---------|----------|
|
|
303
|
+
| `--id <id>` | Status page ID | - | Yes |
|
|
304
|
+
| `-o, --output <file>` | Write to a file instead of standard output | - | No |
|
|
305
|
+
|
|
306
|
+
#### `status-pages subscribers delete` (alias: `rm`)
|
|
307
|
+
|
|
308
|
+
Delete a subscriber; the address gets no more mail
|
|
309
|
+
|
|
310
|
+
**Options:**
|
|
311
|
+
|
|
312
|
+
| Flag | Description | Default | Required |
|
|
313
|
+
|------|-------------|---------|----------|
|
|
314
|
+
| `--id <id>` | Status page ID | - | Yes |
|
|
315
|
+
| `--subscriber-id <id>` | Subscriber ID (see `subscribers list`) | - | Yes |
|
|
316
|
+
| `-y, --yes` | Skip the confirmation prompt | - | No |
|
|
317
|
+
|
|
318
|
+
### `status-pages maintenance`
|
|
319
|
+
|
|
320
|
+
Schedule maintenance windows: shown on the page, no outage alerts, no downtime counted
|
|
321
|
+
|
|
322
|
+
**Subcommands:**
|
|
323
|
+
|
|
324
|
+
- `list` (`ls`) - List maintenance windows, newest first
|
|
325
|
+
- `schedule` - Schedule a window; subscribers and webhooks are told once
|
|
326
|
+
- `update` - Change a window; once it has started only the title, description and end can change
|
|
327
|
+
- `cancel` - Cancel a scheduled window, or end a running one now
|
|
328
|
+
|
|
329
|
+
#### `status-pages maintenance list` (alias: `ls`)
|
|
330
|
+
|
|
331
|
+
List maintenance windows, newest first
|
|
332
|
+
|
|
333
|
+
**Options:**
|
|
334
|
+
|
|
335
|
+
| Flag | Description | Default | Required |
|
|
336
|
+
|------|-------------|---------|----------|
|
|
337
|
+
| `--id <id>` | Status page ID | - | Yes |
|
|
338
|
+
| `--page <n>` | Page number | `1` | No |
|
|
339
|
+
| `--page-size <n>` | Items per page (max 100) | `20` | No |
|
|
340
|
+
| `--json` | Output in JSON format | - | No |
|
|
341
|
+
|
|
342
|
+
#### `status-pages maintenance schedule`
|
|
343
|
+
|
|
344
|
+
Schedule a window; subscribers and webhooks are told once
|
|
345
|
+
|
|
346
|
+
**Options:**
|
|
347
|
+
|
|
348
|
+
| Flag | Description | Default | Required |
|
|
349
|
+
|------|-------------|---------|----------|
|
|
350
|
+
| `--id <id>` | Status page ID | - | Yes |
|
|
351
|
+
| `--title <title>` | Public title (at most 120 characters) | - | Yes |
|
|
352
|
+
| `--description <text>` | Public description (at most 2000 characters) | - | No |
|
|
353
|
+
| `--starts <when>` | now, or an ISO 8601 date with a zone | - | Yes |
|
|
354
|
+
| `--ends <when>` | ISO 8601 date with a zone | - | No |
|
|
355
|
+
| `--duration <span>` | Instead of --ends: 90m, 2h, 1d (at most 7d) | - | No |
|
|
356
|
+
| `--monitor <id>` | Monitor on this page the window covers (repeat, or comma-separate) | - | No |
|
|
357
|
+
| `--json` | Output in JSON format | - | No |
|
|
358
|
+
|
|
359
|
+
#### `status-pages maintenance update`
|
|
360
|
+
|
|
361
|
+
Change a window; once it has started only the title, description and end can change
|
|
362
|
+
|
|
363
|
+
**Options:**
|
|
364
|
+
|
|
365
|
+
| Flag | Description | Default | Required |
|
|
366
|
+
|------|-------------|---------|----------|
|
|
367
|
+
| `--id <id>` | Status page ID | - | Yes |
|
|
368
|
+
| `--maintenance-id <id>` | Maintenance ID (see `maintenance list`) | - | Yes |
|
|
369
|
+
| `--title <title>` | Public title | - | No |
|
|
370
|
+
| `--description <text>` | Public description ("" removes it) | - | No |
|
|
371
|
+
| `--starts <when>` | now, or an ISO 8601 date with a zone | - | No |
|
|
372
|
+
| `--ends <when>` | ISO 8601 date with a zone | - | No |
|
|
373
|
+
| `--duration <span>` | With --starts, instead of --ends: 90m, 2h, 1d | - | No |
|
|
374
|
+
| `--monitor <id>` | Replace the covered monitors (repeat, or comma-separate) | - | No |
|
|
375
|
+
| `--json` | Output in JSON format | - | No |
|
|
376
|
+
|
|
377
|
+
#### `status-pages maintenance cancel`
|
|
378
|
+
|
|
379
|
+
Cancel a scheduled window, or end a running one now
|
|
380
|
+
|
|
381
|
+
**Options:**
|
|
382
|
+
|
|
383
|
+
| Flag | Description | Default | Required |
|
|
384
|
+
|------|-------------|---------|----------|
|
|
385
|
+
| `--id <id>` | Status page ID | - | Yes |
|
|
386
|
+
| `--maintenance-id <id>` | Maintenance ID (see `maintenance list`) | - | Yes |
|
|
387
|
+
| `-y, --yes` | Skip the confirmation prompt | - | No |
|
|
388
|
+
|
|
389
|
+
### `status-pages webhooks`
|
|
390
|
+
|
|
391
|
+
Post every public update of a status page to signed HTTPS webhooks
|
|
392
|
+
|
|
393
|
+
**Subcommands:**
|
|
394
|
+
|
|
395
|
+
- `get` - Show one webhook of a status page
|
|
396
|
+
- `list` (`ls`) - List the webhooks of a status page and how deliveries are going
|
|
397
|
+
- `add` - Add a webhook; its signing secret is printed once
|
|
398
|
+
- `update` - Change the URL, or pause and resume deliveries
|
|
399
|
+
- `remove` (`rm`) - Delete a webhook; events waiting for it are dropped
|
|
400
|
+
|
|
401
|
+
#### `status-pages webhooks get`
|
|
402
|
+
|
|
403
|
+
Show one webhook of a status page
|
|
404
|
+
|
|
405
|
+
**Usage:** `status-pages webhooks get <status-page-id> <webhook-id> [options]`
|
|
406
|
+
|
|
407
|
+
**Options:**
|
|
408
|
+
|
|
409
|
+
| Flag | Description | Default | Required |
|
|
410
|
+
|------|-------------|---------|----------|
|
|
411
|
+
| `--json` | Output in JSON format | - | No |
|
|
412
|
+
|
|
413
|
+
#### `status-pages webhooks list` (alias: `ls`)
|
|
414
|
+
|
|
415
|
+
List the webhooks of a status page and how deliveries are going
|
|
416
|
+
|
|
417
|
+
**Options:**
|
|
418
|
+
|
|
419
|
+
| Flag | Description | Default | Required |
|
|
420
|
+
|------|-------------|---------|----------|
|
|
421
|
+
| `--id <id>` | Status page ID | - | Yes |
|
|
422
|
+
| `--json` | Output in JSON format | - | No |
|
|
423
|
+
|
|
424
|
+
#### `status-pages webhooks add`
|
|
425
|
+
|
|
426
|
+
Add a webhook; its signing secret is printed once
|
|
427
|
+
|
|
428
|
+
**Options:**
|
|
429
|
+
|
|
430
|
+
| Flag | Description | Default | Required |
|
|
431
|
+
|------|-------------|---------|----------|
|
|
432
|
+
| `--id <id>` | Status page ID | - | Yes |
|
|
433
|
+
| `--url <url>` | https:// URL with a public address | - | Yes |
|
|
434
|
+
| `--json` | Output in JSON format | - | No |
|
|
435
|
+
|
|
436
|
+
#### `status-pages webhooks update`
|
|
437
|
+
|
|
438
|
+
Change the URL, or pause and resume deliveries
|
|
439
|
+
|
|
440
|
+
**Options:**
|
|
441
|
+
|
|
442
|
+
| Flag | Description | Default | Required |
|
|
443
|
+
|------|-------------|---------|----------|
|
|
444
|
+
| `--id <id>` | Status page ID | - | Yes |
|
|
445
|
+
| `--webhook-id <id>` | Webhook ID (see `webhooks list`) | - | Yes |
|
|
446
|
+
| `--url <url>` | New https:// URL | - | No |
|
|
447
|
+
| `--enable` | Resume deliveries | - | No |
|
|
448
|
+
| `--disable` | Pause deliveries; those still waiting are dropped | - | No |
|
|
449
|
+
| `--json` | Output in JSON format | - | No |
|
|
450
|
+
|
|
451
|
+
#### `status-pages webhooks remove` (alias: `rm`)
|
|
452
|
+
|
|
453
|
+
Delete a webhook; events waiting for it are dropped
|
|
454
|
+
|
|
455
|
+
**Options:**
|
|
456
|
+
|
|
457
|
+
| Flag | Description | Default | Required |
|
|
458
|
+
|------|-------------|---------|----------|
|
|
459
|
+
| `--id <id>` | Status page ID | - | Yes |
|
|
460
|
+
| `--webhook-id <id>` | Webhook ID (see `webhooks list`) | - | Yes |
|
|
461
|
+
| `-y, --yes` | Skip the confirmation prompt | - | No |
|
|
462
|
+
|
|
463
|
+
### `status-pages password`
|
|
464
|
+
|
|
465
|
+
Protect a status page with a password
|
|
466
|
+
|
|
467
|
+
**Subcommands:**
|
|
468
|
+
|
|
469
|
+
- `show` - Show whether a status page is password-protected
|
|
470
|
+
- `set` - Set or change the password (prompted, or read from stdin); signs every visitor out
|
|
471
|
+
|
|
472
|
+
#### `status-pages password show`
|
|
473
|
+
|
|
474
|
+
Show whether a status page is password-protected
|
|
475
|
+
|
|
476
|
+
**Options:**
|
|
477
|
+
|
|
478
|
+
| Flag | Description | Default | Required |
|
|
479
|
+
|------|-------------|---------|----------|
|
|
480
|
+
| `--id <id>` | Status page ID | - | Yes |
|
|
481
|
+
| `--json` | Output in JSON format | - | No |
|
|
482
|
+
|
|
483
|
+
#### `status-pages password set`
|
|
484
|
+
|
|
485
|
+
Set or change the password (prompted, or read from stdin); signs every visitor out
|
|
486
|
+
|
|
487
|
+
**Options:**
|
|
488
|
+
|
|
489
|
+
| Flag | Description | Default | Required |
|
|
490
|
+
|------|-------------|---------|----------|
|
|
491
|
+
| `--id <id>` | Status page ID | - | Yes |
|
|
492
|
+
| `--password-stdin` | Read the password from the first line of stdin | - | No |
|
|
493
|
+
| `--remove` | Remove the password and open the page again | - | No |
|
|
494
|
+
| `--json` | Output in JSON format | - | No |
|
|
495
|
+
|
|
496
|
+
### `status-pages get-overview`
|
|
497
|
+
|
|
498
|
+
Get status page overview
|
|
499
|
+
|
|
500
|
+
**Options:**
|
|
501
|
+
|
|
502
|
+
| Flag | Description | Default | Required |
|
|
503
|
+
|------|-------------|---------|----------|
|
|
504
|
+
| `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
|
|
505
|
+
| `--environment-id <n>` | Filter by environment ID | - | No |
|
|
506
|
+
| `--json` | Output in JSON format | - | No |
|
|
507
|
+
|
|
508
|
+
### `status-pages get-maintenance`
|
|
509
|
+
|
|
510
|
+
A maintenance window
|
|
511
|
+
|
|
512
|
+
**Usage:** `status-pages get-maintenance <status-page-id> <maintenance-id> [options]`
|
|
513
|
+
|
|
514
|
+
**Options:**
|
|
515
|
+
|
|
516
|
+
| Flag | Description | Default | Required |
|
|
517
|
+
|------|-------------|---------|----------|
|
|
518
|
+
| `--json` | Output in JSON format | - | No |
|
|
519
|
+
|
|
520
|
+
### `status-pages preview`
|
|
521
|
+
|
|
522
|
+
Preview what a status page shows visitors, published or not
|
|
523
|
+
|
|
524
|
+
**Usage:** `status-pages preview <status-page-id> [options]`
|
|
525
|
+
|
|
526
|
+
**Options:**
|
|
527
|
+
|
|
528
|
+
| Flag | Description | Default | Required |
|
|
529
|
+
|------|-------------|---------|----------|
|
|
530
|
+
| `--json` | Output in JSON format | - | No |
|
|
531
|
+
|
|
532
|
+
### `status-pages get-public-feed`
|
|
533
|
+
|
|
534
|
+
Public status page (Atom feed)
|
|
535
|
+
|
|
536
|
+
**Usage:** `status-pages get-public-feed <slug> [options]`
|
|
537
|
+
|
|
538
|
+
**Options:**
|
|
539
|
+
|
|
540
|
+
| Flag | Description | Default | Required |
|
|
541
|
+
|------|-------------|---------|----------|
|
|
542
|
+
| `-o, --output <path>` | Where to write the reply (default: stdout) | `-` | No |
|
|
543
|
+
| `--json` | Output in JSON format | - | No |
|
|
544
|
+
|
|
545
|
+
### `status-pages get-public-json`
|
|
546
|
+
|
|
547
|
+
Public status page (JSON)
|
|
548
|
+
|
|
549
|
+
**Usage:** `status-pages get-public-json <slug> [options]`
|
|
550
|
+
|
|
551
|
+
**Options:**
|
|
552
|
+
|
|
553
|
+
| Flag | Description | Default | Required |
|
|
554
|
+
|------|-------------|---------|----------|
|
|
555
|
+
| `--json` | Output in JSON format | - | No |
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
<!-- Generated from skills/temps-cli/references/COMMANDS.md. Do not edit manually. -->
|
|
2
|
+
|
|
3
|
+
# `surveys` command reference
|
|
4
|
+
|
|
5
|
+
Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing a command. Runtime `--help` is authoritative.
|
|
6
|
+
|
|
7
|
+
## `surveys` (alias: `survey`)
|
|
8
|
+
|
|
9
|
+
Manage in-app surveys (NPS, ratings, choices, open text) and read their answers
|
|
10
|
+
|
|
11
|
+
**Subcommands:**
|
|
12
|
+
|
|
13
|
+
- `list` (`ls`) - List surveys
|
|
14
|
+
- `get` - Show a survey: its questions and when it is shown
|
|
15
|
+
- `create` - Create a survey (a draft unless --status active)
|
|
16
|
+
- `update` - Change a survey; only the options given are changed
|
|
17
|
+
- `launch` - Start showing a survey to visitors
|
|
18
|
+
- `pause` - Stop showing a survey for now
|
|
19
|
+
- `complete` - Stop showing a survey for good (its results stay)
|
|
20
|
+
- `delete` - Delete a survey (answers already recorded stay in analytics events)
|
|
21
|
+
- `results` - Summarise the answers: counts, averages and NPS per question
|
|
22
|
+
- `responses` - List individual responses, newest first
|
|
23
|
+
|
|
24
|
+
### `surveys list` (alias: `ls`)
|
|
25
|
+
|
|
26
|
+
List surveys
|
|
27
|
+
|
|
28
|
+
**Options:**
|
|
29
|
+
|
|
30
|
+
| Flag | Description | Default | Required |
|
|
31
|
+
|------|-------------|---------|----------|
|
|
32
|
+
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
33
|
+
| `--status <status>` | Only surveys in this status: draft, active, paused, completed | - | No |
|
|
34
|
+
| `--page <n>` | Page number (default: 1) | - | No |
|
|
35
|
+
| `--page-size <n>` | Items per page (default: 20, max: 100) | - | No |
|
|
36
|
+
| `--json` | Output in JSON format | - | No |
|
|
37
|
+
|
|
38
|
+
### `surveys get`
|
|
39
|
+
|
|
40
|
+
Show a survey: its questions and when it is shown
|
|
41
|
+
|
|
42
|
+
**Usage:** `surveys get <id> [options]`
|
|
43
|
+
|
|
44
|
+
**Options:**
|
|
45
|
+
|
|
46
|
+
| Flag | Description | Default | Required |
|
|
47
|
+
|------|-------------|---------|----------|
|
|
48
|
+
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
49
|
+
| `--json` | Output in JSON format | - | No |
|
|
50
|
+
|
|
51
|
+
### `surveys create`
|
|
52
|
+
|
|
53
|
+
Create a survey (a draft unless --status active)
|
|
54
|
+
|
|
55
|
+
**Usage:** `surveys create <name> [options]`
|
|
56
|
+
|
|
57
|
+
**Options:**
|
|
58
|
+
|
|
59
|
+
| Flag | Description | Default | Required |
|
|
60
|
+
|------|-------------|---------|----------|
|
|
61
|
+
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
62
|
+
| `-q, --questions <json\|@file\|->` | Questions as a JSON array of {id, kind, prompt, optional?, choices?, scale?, lower_label?, upper_label?} | - | Yes |
|
|
63
|
+
| `-t, --targeting <json\|@file\|->` | When to show it: {path_pattern?, trigger_event?, sample_rate?, once_per_visitor?, flag?: {key, value}} | - | No |
|
|
64
|
+
| `--description <text>` | Internal description | - | No |
|
|
65
|
+
| `--status <status>` | draft (default) or active | - | No |
|
|
66
|
+
| `--json` | Output in JSON format | - | No |
|
|
67
|
+
|
|
68
|
+
### `surveys update`
|
|
69
|
+
|
|
70
|
+
Change a survey; only the options given are changed
|
|
71
|
+
|
|
72
|
+
**Usage:** `surveys update <id> [options]`
|
|
73
|
+
|
|
74
|
+
**Options:**
|
|
75
|
+
|
|
76
|
+
| Flag | Description | Default | Required |
|
|
77
|
+
|------|-------------|---------|----------|
|
|
78
|
+
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
79
|
+
| `--name <name>` | New name | - | No |
|
|
80
|
+
| `--description <text>` | New description ("" clears it) | - | No |
|
|
81
|
+
| `-q, --questions <json\|@file\|->` | Replace the questions | - | No |
|
|
82
|
+
| `-t, --targeting <json\|@file\|->` | Replace when it is shown | - | No |
|
|
83
|
+
| `--status <status>` | draft, active, paused or completed | - | No |
|
|
84
|
+
| `--json` | Output in JSON format | - | No |
|
|
85
|
+
|
|
86
|
+
### `surveys launch`
|
|
87
|
+
|
|
88
|
+
Start showing a survey to visitors
|
|
89
|
+
|
|
90
|
+
**Usage:** `surveys launch <id> [options]`
|
|
91
|
+
|
|
92
|
+
**Options:**
|
|
93
|
+
|
|
94
|
+
| Flag | Description | Default | Required |
|
|
95
|
+
|------|-------------|---------|----------|
|
|
96
|
+
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
97
|
+
|
|
98
|
+
### `surveys pause`
|
|
99
|
+
|
|
100
|
+
Stop showing a survey for now
|
|
101
|
+
|
|
102
|
+
**Usage:** `surveys pause <id> [options]`
|
|
103
|
+
|
|
104
|
+
**Options:**
|
|
105
|
+
|
|
106
|
+
| Flag | Description | Default | Required |
|
|
107
|
+
|------|-------------|---------|----------|
|
|
108
|
+
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
109
|
+
|
|
110
|
+
### `surveys complete`
|
|
111
|
+
|
|
112
|
+
Stop showing a survey for good (its results stay)
|
|
113
|
+
|
|
114
|
+
**Usage:** `surveys complete <id> [options]`
|
|
115
|
+
|
|
116
|
+
**Options:**
|
|
117
|
+
|
|
118
|
+
| Flag | Description | Default | Required |
|
|
119
|
+
|------|-------------|---------|----------|
|
|
120
|
+
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
121
|
+
|
|
122
|
+
### `surveys delete`
|
|
123
|
+
|
|
124
|
+
Delete a survey (answers already recorded stay in analytics events)
|
|
125
|
+
|
|
126
|
+
**Usage:** `surveys delete <id> [options]`
|
|
127
|
+
|
|
128
|
+
**Options:**
|
|
129
|
+
|
|
130
|
+
| Flag | Description | Default | Required |
|
|
131
|
+
|------|-------------|---------|----------|
|
|
132
|
+
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
133
|
+
| `-y, --yes` | Skip the confirmation | - | No |
|
|
134
|
+
|
|
135
|
+
### `surveys results`
|
|
136
|
+
|
|
137
|
+
Summarise the answers: counts, averages and NPS per question
|
|
138
|
+
|
|
139
|
+
**Usage:** `surveys results <id> [options]`
|
|
140
|
+
|
|
141
|
+
**Options:**
|
|
142
|
+
|
|
143
|
+
| Flag | Description | Default | Required |
|
|
144
|
+
|------|-------------|---------|----------|
|
|
145
|
+
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
146
|
+
| `-e, --environment <name>` | Only answers from this environment | - | No |
|
|
147
|
+
| `--days <n>` | Look back this many days (default: 30, max: 366) | - | No |
|
|
148
|
+
| `--json` | Output in JSON format | - | No |
|
|
149
|
+
|
|
150
|
+
### `surveys responses`
|
|
151
|
+
|
|
152
|
+
List individual responses, newest first
|
|
153
|
+
|
|
154
|
+
**Usage:** `surveys responses <id> [options]`
|
|
155
|
+
|
|
156
|
+
**Options:**
|
|
157
|
+
|
|
158
|
+
| Flag | Description | Default | Required |
|
|
159
|
+
|------|-------------|---------|----------|
|
|
160
|
+
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
161
|
+
| `-e, --environment <name>` | Only answers from this environment | - | No |
|
|
162
|
+
| `--days <n>` | Look back this many days (default: 30, max: 366) | - | No |
|
|
163
|
+
| `--page <n>` | Page number (default: 1) | - | No |
|
|
164
|
+
| `--page-size <n>` | Items per page (default: 20, max: 100) | - | No |
|
|
165
|
+
| `--json` | Output in JSON format | - | No |
|
|
@@ -25,6 +25,7 @@ List all teams
|
|
|
25
25
|
|
|
26
26
|
| Flag | Description | Default | Required |
|
|
27
27
|
|------|-------------|---------|----------|
|
|
28
|
+
| `--page <n>` | Page of 100 teams (default: 1) | - | No |
|
|
28
29
|
| `--json` | Output in JSON format | - | No |
|
|
29
30
|
|
|
30
31
|
### `teams create` (alias: `add`)
|
|
@@ -44,6 +45,8 @@ Create a new team
|
|
|
44
45
|
|
|
45
46
|
Show a team with its members and projects
|
|
46
47
|
|
|
48
|
+
**Usage:** `teams show <team> [options]`
|
|
49
|
+
|
|
47
50
|
**Options:**
|
|
48
51
|
|
|
49
52
|
| Flag | Description | Default | Required |
|
|
@@ -54,6 +57,8 @@ Show a team with its members and projects
|
|
|
54
57
|
|
|
55
58
|
Update a team name or description
|
|
56
59
|
|
|
60
|
+
**Usage:** `teams update <team> [options]`
|
|
61
|
+
|
|
57
62
|
**Options:**
|
|
58
63
|
|
|
59
64
|
| Flag | Description | Default | Required |
|
|
@@ -66,6 +71,8 @@ Update a team name or description
|
|
|
66
71
|
|
|
67
72
|
Delete a team (removes its members and project grants)
|
|
68
73
|
|
|
74
|
+
**Usage:** `teams delete <team> [options]`
|
|
75
|
+
|
|
69
76
|
**Options:**
|
|
70
77
|
|
|
71
78
|
| Flag | Description | Default | Required |
|
|
@@ -78,15 +85,30 @@ Manage team membership
|
|
|
78
85
|
|
|
79
86
|
**Subcommands:**
|
|
80
87
|
|
|
88
|
+
- `get` - Show one member of a team
|
|
81
89
|
- `list` (`ls`) - List a team's members
|
|
82
90
|
- `add` - Add a user to a team
|
|
83
91
|
- `set-role` - Change a member's role in the team
|
|
84
92
|
- `remove` (`rm`) - Remove a user from a team
|
|
85
93
|
|
|
94
|
+
#### `teams members get`
|
|
95
|
+
|
|
96
|
+
Show one member of a team
|
|
97
|
+
|
|
98
|
+
**Usage:** `teams members get <team-id> <user-id> [options]`
|
|
99
|
+
|
|
100
|
+
**Options:**
|
|
101
|
+
|
|
102
|
+
| Flag | Description | Default | Required |
|
|
103
|
+
|------|-------------|---------|----------|
|
|
104
|
+
| `--json` | Output in JSON format | - | No |
|
|
105
|
+
|
|
86
106
|
#### `teams members list` (alias: `ls`)
|
|
87
107
|
|
|
88
108
|
List a team's members
|
|
89
109
|
|
|
110
|
+
**Usage:** `teams members list <team> [options]`
|
|
111
|
+
|
|
90
112
|
**Options:**
|
|
91
113
|
|
|
92
114
|
| Flag | Description | Default | Required |
|
|
@@ -97,6 +119,8 @@ List a team's members
|
|
|
97
119
|
|
|
98
120
|
Add a user to a team
|
|
99
121
|
|
|
122
|
+
**Usage:** `teams members add <team> [options]`
|
|
123
|
+
|
|
100
124
|
**Options:**
|
|
101
125
|
|
|
102
126
|
| Flag | Description | Default | Required |
|
|
@@ -109,6 +133,8 @@ Add a user to a team
|
|
|
109
133
|
|
|
110
134
|
Change a member's role in the team
|
|
111
135
|
|
|
136
|
+
**Usage:** `teams members set-role <team> [options]`
|
|
137
|
+
|
|
112
138
|
**Options:**
|
|
113
139
|
|
|
114
140
|
| Flag | Description | Default | Required |
|
|
@@ -121,6 +147,8 @@ Change a member's role in the team
|
|
|
121
147
|
|
|
122
148
|
Remove a user from a team
|
|
123
149
|
|
|
150
|
+
**Usage:** `teams members remove <team> [options]`
|
|
151
|
+
|
|
124
152
|
**Options:**
|
|
125
153
|
|
|
126
154
|
| Flag | Description | Default | Required |
|