@temps-sdk/cli 0.1.38 → 0.2.0-beta.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.
Files changed (86) hide show
  1. package/README.md +14 -0
  2. package/dist/index.js +10116 -996
  3. package/dist/skills/temps/SKILL.md +17 -9
  4. package/dist/skills/temps/evals/evals.json +23 -6
  5. package/dist/skills/temps/howtos/ci-automation.md +2 -3
  6. package/dist/skills/temps/howtos/curated-services.md +69 -0
  7. package/dist/skills/temps/howtos/deploy-application.md +8 -1
  8. package/dist/skills/temps/howtos/edge-rules.md +135 -0
  9. package/dist/skills/temps/howtos/managed-services.md +4 -4
  10. package/dist/skills/temps/howtos/projects-and-monorepos.md +2 -1
  11. package/dist/skills/temps/references/cli-runtime.md +10 -18
  12. package/dist/skills/temps/references/commands/INDEX.md +5 -0
  13. package/dist/skills/temps/references/commands/access.md +4 -0
  14. package/dist/skills/temps/references/commands/ai.md +4 -0
  15. package/dist/skills/temps/references/commands/alarms.md +4 -0
  16. package/dist/skills/temps/references/commands/analytics.md +199 -0
  17. package/dist/skills/temps/references/commands/apikeys.md +2 -0
  18. package/dist/skills/temps/references/commands/backups.md +6 -0
  19. package/dist/skills/temps/references/commands/cloud.md +14 -0
  20. package/dist/skills/temps/references/commands/configure.md +7 -0
  21. package/dist/skills/temps/references/commands/context.md +6 -0
  22. package/dist/skills/temps/references/commands/data.md +10 -13
  23. package/dist/skills/temps/references/commands/deploy.md +2 -0
  24. package/dist/skills/temps/references/commands/deployments.md +1 -0
  25. package/dist/skills/temps/references/commands/domains.md +1 -0
  26. package/dist/skills/temps/references/commands/drop.md +2 -0
  27. package/dist/skills/temps/references/commands/edge-rules.md +218 -0
  28. package/dist/skills/temps/references/commands/email-providers.md +5 -0
  29. package/dist/skills/temps/references/commands/env-pull.md +2 -0
  30. package/dist/skills/temps/references/commands/env-push.md +2 -0
  31. package/dist/skills/temps/references/commands/environments.md +250 -2
  32. package/dist/skills/temps/references/commands/errors.md +514 -1
  33. package/dist/skills/temps/references/commands/facets.md +6 -0
  34. package/dist/skills/temps/references/commands/flags.md +103 -0
  35. package/dist/skills/temps/references/commands/incidents.md +4 -0
  36. package/dist/skills/temps/references/commands/init.md +2 -0
  37. package/dist/skills/temps/references/commands/instances.md +6 -0
  38. package/dist/skills/temps/references/commands/instantiations.md +4 -0
  39. package/dist/skills/temps/references/commands/link.md +2 -0
  40. package/dist/skills/temps/references/commands/login.md +5 -0
  41. package/dist/skills/temps/references/commands/logs.md +133 -10
  42. package/dist/skills/temps/references/commands/mcp-servers.md +4 -0
  43. package/dist/skills/temps/references/commands/mcp.md +8 -1
  44. package/dist/skills/temps/references/commands/migrate.md +9 -0
  45. package/dist/skills/temps/references/commands/monitors.md +70 -0
  46. package/dist/skills/temps/references/commands/network-policy.md +120 -0
  47. package/dist/skills/temps/references/commands/nodes.md +54 -0
  48. package/dist/skills/temps/references/commands/notifications.md +24 -2
  49. package/dist/skills/temps/references/commands/open.md +2 -0
  50. package/dist/skills/temps/references/commands/otel-forward.md +16 -0
  51. package/dist/skills/temps/references/commands/platform.md +4 -0
  52. package/dist/skills/temps/references/commands/plugin.md +30 -1
  53. package/dist/skills/temps/references/commands/presets.md +2 -0
  54. package/dist/skills/temps/references/commands/project-groups.md +41 -4
  55. package/dist/skills/temps/references/commands/projects.md +63 -4
  56. package/dist/skills/temps/references/commands/providers.md +14 -1
  57. package/dist/skills/temps/references/commands/revenue.md +4 -0
  58. package/dist/skills/temps/references/commands/rollback.md +2 -0
  59. package/dist/skills/temps/references/commands/sandbox.md +91 -1
  60. package/dist/skills/temps/references/commands/secrets.md +16 -6
  61. package/dist/skills/temps/references/commands/services.md +6 -0
  62. package/dist/skills/temps/references/commands/session-replay.md +8 -0
  63. package/dist/skills/temps/references/commands/skills.md +6 -0
  64. package/dist/skills/temps/references/commands/start.md +1 -0
  65. package/dist/skills/temps/references/commands/status-pages.md +276 -9
  66. package/dist/skills/temps/references/commands/status.md +2 -0
  67. package/dist/skills/temps/references/commands/surveys.md +165 -0
  68. package/dist/skills/temps/references/commands/teams.md +14 -0
  69. package/dist/skills/temps/references/commands/templates.md +8 -2
  70. package/dist/skills/temps/references/commands/traces.md +58 -0
  71. package/dist/skills/temps/references/commands/traefik-discovery.md +10 -0
  72. package/dist/skills/temps/references/commands/tunnels.md +139 -0
  73. package/dist/skills/temps/references/commands/up.md +2 -0
  74. package/dist/skills/temps/references/commands/users.md +16 -0
  75. package/dist/skills/temps/references/commands/webhooks.md +6 -0
  76. package/dist/skills/temps/references/commands/workflow.md +2 -0
  77. package/dist/skills/temps/references/commands/workflows.md +216 -0
  78. package/dist/skills/temps/references/observability/analytics.md +2 -2
  79. package/dist/skills/temps/references/workflows/platform-operations.md +46 -36
  80. package/dist/skills/temps/scripts/test_validate_skill.py +25 -66
  81. package/dist/skills/temps/scripts/validate_skill.py +29 -43
  82. package/package.json +7 -2
  83. package/dist/skills/temps/scripts/__pycache__/generate_command_references.cpython-314.pyc +0 -0
  84. package/dist/skills/temps/scripts/__pycache__/test_generate_command_references.cpython-314.pyc +0 -0
  85. package/dist/skills/temps/scripts/__pycache__/test_validate_skill.cpython-314.pyc +0 -0
  86. package/dist/skills/temps/scripts/__pycache__/validate_skill.cpython-314.pyc +0 -0
@@ -4,14 +4,31 @@
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)
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)
17
+ - [`status-pages domains`](#status-pages-domains)
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
+
7
24
  ## `status-pages` (alias: `status-page`)
8
25
 
9
- Publish public status pages for selected monitors
26
+ Publish public status pages showing monitors from any of your projects
10
27
 
11
28
  **Subcommands:**
12
29
 
13
- - `list` (`ls`) - List a project's status pages
14
- - `create` - Create a draft status page
30
+ - `list` (`ls`) - List status pages, optionally only those showing one project
31
+ - `create` - Create a draft status page; monitors may come from any project
15
32
  - `show` - Show a status page
16
33
  - `update` - Change the title, description or monitor selection
17
34
  - `publish` - Publish the page at its public URL
@@ -19,30 +36,35 @@ Publish public status pages for selected monitors
19
36
  - `rotate-url` - Replace the public URL; the old one stops working
20
37
  - `delete` (`rm`) - Delete a status page; its public URL returns 404 immediately
21
38
  - `domains` (`domain`) - Serve a status page on your own hostname
39
+ - `subscriptions` - Let visitors subscribe to a status page by email
40
+ - `subscribers` - List, export or delete the subscribers of a status page
41
+ - `maintenance` - Schedule maintenance windows: shown on the page, no outage alerts, no downtime counted
42
+ - `webhooks` - Post every public update of a status page to signed HTTPS webhooks
43
+ - `password` - Protect a status page with a password
22
44
 
23
45
  ### `status-pages list` (alias: `ls`)
24
46
 
25
- List a project's status pages
47
+ List status pages, optionally only those showing one project
26
48
 
27
49
  **Options:**
28
50
 
29
51
  | Flag | Description | Default | Required |
30
52
  |------|-------------|---------|----------|
31
- | `--project-id <id>` | Project ID | - | Yes |
53
+ | `--project-id <id>` | Only pages with a component from this project | - | No |
32
54
  | `--json` | Output in JSON format | - | No |
33
55
 
34
56
  ### `status-pages create`
35
57
 
36
- Create a draft status page
58
+ Create a draft status page; monitors may come from any project
37
59
 
38
60
  **Options:**
39
61
 
40
62
  | Flag | Description | Default | Required |
41
63
  |------|-------------|---------|----------|
42
- | `--project-id <id>` | Project ID | - | Yes |
43
64
  | `-t, --title <title>` | Public page title | - | Yes |
65
+ | `-m, --monitor <id=name>` | Monitor to show and its public name (repeatable) | - | Yes |
66
+ | `-g, --group <name=ids>` | Show monitors together under a group, e.g. "Cloud=12,13" (repeatable) | - | No |
44
67
  | `-d, --description <text>` | Public description | - | No |
45
- | `-m, --monitor <id=name>` | Monitor to show and its public name (repeatable) | - | No |
46
68
  | `--json` | Output in JSON format | - | No |
47
69
 
48
70
  ### `status-pages show`
@@ -68,7 +90,7 @@ Change the title, description or monitor selection
68
90
  | `-t, --title <title>` | Public page title | - | No |
69
91
  | `-d, --description <text>` | Public description ("" clears it) | - | No |
70
92
  | `-m, --monitor <id=name>` | Replace the selection; repeat for each monitor | - | No |
71
- | `--clear-monitors` | Remove every monitor (drafts only) | - | No |
93
+ | `-g, --group <name=ids>` | With --monitor: group monitors, e.g. "Cloud=12,13" (repeatable) | - | No |
72
94
  | `--json` | Output in JSON format | - | No |
73
95
 
74
96
  ### `status-pages publish`
@@ -186,3 +208,248 @@ Detach a hostname; it answers 404 immediately and its certificate is deleted
186
208
  | `--id <id>` | Status page ID | - | Yes |
187
209
  | `--domain-id <id>` | Custom domain ID (see `domains list`) | - | Yes |
188
210
  | `-y, --yes` | Skip the confirmation prompt | - | No |
211
+
212
+ ### `status-pages subscriptions`
213
+
214
+ Let visitors subscribe to a status page by email
215
+
216
+ **Subcommands:**
217
+
218
+ - `show` - Show whether visitors can subscribe, the sender and what is missing
219
+ - `set` - Switch subscriptions on or off, or set the sender address
220
+
221
+ #### `status-pages subscriptions show`
222
+
223
+ Show whether visitors can subscribe, the sender and what is missing
224
+
225
+ **Options:**
226
+
227
+ | Flag | Description | Default | Required |
228
+ |------|-------------|---------|----------|
229
+ | `--id <id>` | Status page ID | - | Yes |
230
+ | `--json` | Output in JSON format | - | No |
231
+
232
+ #### `status-pages subscriptions set`
233
+
234
+ Switch subscriptions on or off, or set the sender address
235
+
236
+ **Options:**
237
+
238
+ | Flag | Description | Default | Required |
239
+ |------|-------------|---------|----------|
240
+ | `--id <id>` | Status page ID | - | Yes |
241
+ | `--enable` | Show the subscribe form on the public page | - | No |
242
+ | `--disable` | Hide the subscribe form and stop sending | - | No |
243
+ | `--sender <address>` | From address at a verified email domain ("" clears it) | - | No |
244
+ | `--json` | Output in JSON format | - | No |
245
+
246
+ ### `status-pages subscribers`
247
+
248
+ List, export or delete the subscribers of a status page
249
+
250
+ **Subcommands:**
251
+
252
+ - `list` (`ls`) - List subscribers, newest first
253
+ - `export` - Export every subscriber as CSV (email,state,subscribed_at,confirmed_at)
254
+ - `delete` (`rm`) - Delete a subscriber; the address gets no more mail
255
+
256
+ #### `status-pages subscribers list` (alias: `ls`)
257
+
258
+ List subscribers, newest first
259
+
260
+ **Options:**
261
+
262
+ | Flag | Description | Default | Required |
263
+ |------|-------------|---------|----------|
264
+ | `--id <id>` | Status page ID | - | Yes |
265
+ | `--page <n>` | Page number | `1` | No |
266
+ | `--page-size <n>` | Items per page (max 100) | `20` | No |
267
+ | `--json` | Output in JSON format | - | No |
268
+
269
+ #### `status-pages subscribers export`
270
+
271
+ Export every subscriber as CSV (email,state,subscribed_at,confirmed_at)
272
+
273
+ **Options:**
274
+
275
+ | Flag | Description | Default | Required |
276
+ |------|-------------|---------|----------|
277
+ | `--id <id>` | Status page ID | - | Yes |
278
+ | `-o, --output <file>` | Write to a file instead of standard output | - | No |
279
+
280
+ #### `status-pages subscribers delete` (alias: `rm`)
281
+
282
+ Delete a subscriber; the address gets no more mail
283
+
284
+ **Options:**
285
+
286
+ | Flag | Description | Default | Required |
287
+ |------|-------------|---------|----------|
288
+ | `--id <id>` | Status page ID | - | Yes |
289
+ | `--subscriber-id <id>` | Subscriber ID (see `subscribers list`) | - | Yes |
290
+ | `-y, --yes` | Skip the confirmation prompt | - | No |
291
+
292
+ ### `status-pages maintenance`
293
+
294
+ Schedule maintenance windows: shown on the page, no outage alerts, no downtime counted
295
+
296
+ **Subcommands:**
297
+
298
+ - `list` (`ls`) - List maintenance windows, newest first
299
+ - `schedule` - Schedule a window; subscribers and webhooks are told once
300
+ - `update` - Change a window; once it has started only the title, description and end can change
301
+ - `cancel` - Cancel a scheduled window, or end a running one now
302
+
303
+ #### `status-pages maintenance list` (alias: `ls`)
304
+
305
+ List maintenance windows, newest first
306
+
307
+ **Options:**
308
+
309
+ | Flag | Description | Default | Required |
310
+ |------|-------------|---------|----------|
311
+ | `--id <id>` | Status page ID | - | Yes |
312
+ | `--page <n>` | Page number | `1` | No |
313
+ | `--page-size <n>` | Items per page (max 100) | `20` | No |
314
+ | `--json` | Output in JSON format | - | No |
315
+
316
+ #### `status-pages maintenance schedule`
317
+
318
+ Schedule a window; subscribers and webhooks are told once
319
+
320
+ **Options:**
321
+
322
+ | Flag | Description | Default | Required |
323
+ |------|-------------|---------|----------|
324
+ | `--id <id>` | Status page ID | - | Yes |
325
+ | `--title <title>` | Public title (at most 120 characters) | - | Yes |
326
+ | `--description <text>` | Public description (at most 2000 characters) | - | No |
327
+ | `--starts <when>` | now, or an ISO 8601 date with a zone | - | Yes |
328
+ | `--ends <when>` | ISO 8601 date with a zone | - | No |
329
+ | `--duration <span>` | Instead of --ends: 90m, 2h, 1d (at most 7d) | - | No |
330
+ | `--monitor <id>` | Monitor on this page the window covers (repeat, or comma-separate) | - | No |
331
+ | `--json` | Output in JSON format | - | No |
332
+
333
+ #### `status-pages maintenance update`
334
+
335
+ Change a window; once it has started only the title, description and end can change
336
+
337
+ **Options:**
338
+
339
+ | Flag | Description | Default | Required |
340
+ |------|-------------|---------|----------|
341
+ | `--id <id>` | Status page ID | - | Yes |
342
+ | `--maintenance-id <id>` | Maintenance ID (see `maintenance list`) | - | Yes |
343
+ | `--title <title>` | Public title | - | No |
344
+ | `--description <text>` | Public description ("" removes it) | - | No |
345
+ | `--starts <when>` | now, or an ISO 8601 date with a zone | - | No |
346
+ | `--ends <when>` | ISO 8601 date with a zone | - | No |
347
+ | `--duration <span>` | With --starts, instead of --ends: 90m, 2h, 1d | - | No |
348
+ | `--monitor <id>` | Replace the covered monitors (repeat, or comma-separate) | - | No |
349
+ | `--json` | Output in JSON format | - | No |
350
+
351
+ #### `status-pages maintenance cancel`
352
+
353
+ Cancel a scheduled window, or end a running one now
354
+
355
+ **Options:**
356
+
357
+ | Flag | Description | Default | Required |
358
+ |------|-------------|---------|----------|
359
+ | `--id <id>` | Status page ID | - | Yes |
360
+ | `--maintenance-id <id>` | Maintenance ID (see `maintenance list`) | - | Yes |
361
+ | `-y, --yes` | Skip the confirmation prompt | - | No |
362
+
363
+ ### `status-pages webhooks`
364
+
365
+ Post every public update of a status page to signed HTTPS webhooks
366
+
367
+ **Subcommands:**
368
+
369
+ - `list` (`ls`) - List the webhooks of a status page and how deliveries are going
370
+ - `add` - Add a webhook; its signing secret is printed once
371
+ - `update` - Change the URL, or pause and resume deliveries
372
+ - `remove` (`rm`) - Delete a webhook; events waiting for it are dropped
373
+
374
+ #### `status-pages webhooks list` (alias: `ls`)
375
+
376
+ List the webhooks of a status page and how deliveries are going
377
+
378
+ **Options:**
379
+
380
+ | Flag | Description | Default | Required |
381
+ |------|-------------|---------|----------|
382
+ | `--id <id>` | Status page ID | - | Yes |
383
+ | `--json` | Output in JSON format | - | No |
384
+
385
+ #### `status-pages webhooks add`
386
+
387
+ Add a webhook; its signing secret is printed once
388
+
389
+ **Options:**
390
+
391
+ | Flag | Description | Default | Required |
392
+ |------|-------------|---------|----------|
393
+ | `--id <id>` | Status page ID | - | Yes |
394
+ | `--url <url>` | https:// URL with a public address | - | Yes |
395
+ | `--json` | Output in JSON format | - | No |
396
+
397
+ #### `status-pages webhooks update`
398
+
399
+ Change the URL, or pause and resume deliveries
400
+
401
+ **Options:**
402
+
403
+ | Flag | Description | Default | Required |
404
+ |------|-------------|---------|----------|
405
+ | `--id <id>` | Status page ID | - | Yes |
406
+ | `--webhook-id <id>` | Webhook ID (see `webhooks list`) | - | Yes |
407
+ | `--url <url>` | New https:// URL | - | No |
408
+ | `--enable` | Resume deliveries | - | No |
409
+ | `--disable` | Pause deliveries; those still waiting are dropped | - | No |
410
+ | `--json` | Output in JSON format | - | No |
411
+
412
+ #### `status-pages webhooks remove` (alias: `rm`)
413
+
414
+ Delete a webhook; events waiting for it are dropped
415
+
416
+ **Options:**
417
+
418
+ | Flag | Description | Default | Required |
419
+ |------|-------------|---------|----------|
420
+ | `--id <id>` | Status page ID | - | Yes |
421
+ | `--webhook-id <id>` | Webhook ID (see `webhooks list`) | - | Yes |
422
+ | `-y, --yes` | Skip the confirmation prompt | - | No |
423
+
424
+ ### `status-pages password`
425
+
426
+ Protect a status page with a password
427
+
428
+ **Subcommands:**
429
+
430
+ - `show` - Show whether a status page is password-protected
431
+ - `set` - Set or change the password (prompted, or read from stdin); signs every visitor out
432
+
433
+ #### `status-pages password show`
434
+
435
+ Show whether a status page is password-protected
436
+
437
+ **Options:**
438
+
439
+ | Flag | Description | Default | Required |
440
+ |------|-------------|---------|----------|
441
+ | `--id <id>` | Status page ID | - | Yes |
442
+ | `--json` | Output in JSON format | - | No |
443
+
444
+ #### `status-pages password set`
445
+
446
+ Set or change the password (prompted, or read from stdin); signs every visitor out
447
+
448
+ **Options:**
449
+
450
+ | Flag | Description | Default | Required |
451
+ |------|-------------|---------|----------|
452
+ | `--id <id>` | Status page ID | - | Yes |
453
+ | `--password-stdin` | Read the password from the first line of stdin | - | No |
454
+ | `--remove` | Remove the password and open the page again | - | No |
455
+ | `--json` | Output in JSON format | - | No |
@@ -8,6 +8,8 @@ Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing
8
8
 
9
9
  Show project deployment status
10
10
 
11
+ **Usage:** `status [project] [options]`
12
+
11
13
  **Options:**
12
14
 
13
15
  | Flag | Description | Default | Required |
@@ -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 |
@@ -44,6 +44,8 @@ Create a new team
44
44
 
45
45
  Show a team with its members and projects
46
46
 
47
+ **Usage:** `teams show <team> [options]`
48
+
47
49
  **Options:**
48
50
 
49
51
  | Flag | Description | Default | Required |
@@ -54,6 +56,8 @@ Show a team with its members and projects
54
56
 
55
57
  Update a team name or description
56
58
 
59
+ **Usage:** `teams update <team> [options]`
60
+
57
61
  **Options:**
58
62
 
59
63
  | Flag | Description | Default | Required |
@@ -66,6 +70,8 @@ Update a team name or description
66
70
 
67
71
  Delete a team (removes its members and project grants)
68
72
 
73
+ **Usage:** `teams delete <team> [options]`
74
+
69
75
  **Options:**
70
76
 
71
77
  | Flag | Description | Default | Required |
@@ -87,6 +93,8 @@ Manage team membership
87
93
 
88
94
  List a team's members
89
95
 
96
+ **Usage:** `teams members list <team> [options]`
97
+
90
98
  **Options:**
91
99
 
92
100
  | Flag | Description | Default | Required |
@@ -97,6 +105,8 @@ List a team's members
97
105
 
98
106
  Add a user to a team
99
107
 
108
+ **Usage:** `teams members add <team> [options]`
109
+
100
110
  **Options:**
101
111
 
102
112
  | Flag | Description | Default | Required |
@@ -109,6 +119,8 @@ Add a user to a team
109
119
 
110
120
  Change a member's role in the team
111
121
 
122
+ **Usage:** `teams members set-role <team> [options]`
123
+
112
124
  **Options:**
113
125
 
114
126
  | Flag | Description | Default | Required |
@@ -121,6 +133,8 @@ Change a member's role in the team
121
133
 
122
134
  Remove a user from a team
123
135
 
136
+ **Usage:** `teams members remove <team> [options]`
137
+
124
138
  **Options:**
125
139
 
126
140
  | Flag | Description | Default | Required |
@@ -29,6 +29,8 @@ List available templates
29
29
 
30
30
  Create a template: every service (an app, what `projects` manages), the databases it needs, its shared variables and path routes
31
31
 
32
+ **Usage:** `templates create <slug> [options]`
33
+
32
34
  **Options:**
33
35
 
34
36
  | Flag | Description | Default | Required |
@@ -38,8 +40,10 @@ Create a template: every service (an app, what `projects` manages), the database
38
40
  | `--standalone` | Create a one-service template without a project (group); the default for one service | - | No |
39
41
  | `--name <service=name...>` | Name a created service; a one-service template also takes a bare name | - | No |
40
42
  | `--env <[service:]KEY=VALUE...>` | Set a variable; prefix the service when the template cannot tell | - | No |
41
- | `--secret <[service:]KEY=VALUE...>` | Set a secret variable (write-only once stored) | - | No |
42
- | `--database <type=new|type=new:name|type=id...>` | Create or link each database the template needs (default: create) | - | No |
43
+ | `--secret <[service:]KEY=VALUE...>` | Set a secret variable (write-only once stored); the value is visible in shell history, so prefer --secret-file | - | No |
44
+ | `--secret-file <[service:]KEY=PATH...>` | Set a secret variable from a file, byte-for-byte (PATH - reads stdin) | - | No |
45
+ | `--trim-trailing-newline` | Drop exactly one trailing newline from each --secret-file value | - | No |
46
+ | `--database <type=new\|type=new:name\|type=id...>` | Create or link each database the template needs (default: create) | - | No |
43
47
  | `--fork-connection <id>` | Starters only: copy the code into a new repository on this git connection | - | No |
44
48
  | `--repo-name <name>` | Name of the new repository (with --fork-connection) | - | No |
45
49
  | `--repo-owner <owner>` | Account or organization for the new repository | - | No |
@@ -54,6 +58,8 @@ Create a template: every service (an app, what `projects` manages), the database
54
58
 
55
59
  Validate a Temps-native template YAML file or directory offline
56
60
 
61
+ **Usage:** `templates validate <path> [options]`
62
+
57
63
  **Options:**
58
64
 
59
65
  | Flag | Description | Default | Required |
@@ -11,6 +11,10 @@ Inspect distributed traces and operation latency
11
11
  **Subcommands:**
12
12
 
13
13
  - `span-stats` (`operations`, `ops`) - Rank operations by time spent, latency percentiles, or inconsistency
14
+ - `trend` - Show how one operation's latency moved, day by day, with deployments
15
+ - `regressions` - List the operations that got slower or faster after a deployment
16
+ - `breakdown` - Show where the time inside one operation goes: queries, downstream calls, its own code
17
+ - `page` - Compare a page's web vitals with the backend requests that served it
14
18
 
15
19
  ### `traces span-stats` (alias: `operations`, `ops`)
16
20
 
@@ -35,8 +39,62 @@ Rank operations by time spent, latency percentiles, or inconsistency
35
39
  | `--attributes <pairs>` | Span attribute filters, e.g. db.system=postgresql | - | No |
36
40
  | `--min-duration-ms <ms>` | Ignore spans faster than this | - | No |
37
41
  | `--min-count <n>` | Drop operations with fewer samples than this | - | No |
42
+ | `--apdex-ms <ms>` | Apdex threshold: calls at or under this satisfy, up to 4x tolerate (default 500) | - | No |
38
43
  | `--sort-by <field>` | Ranking (total_time, p50, p95, p99, max, avg, stddev, count, errors, error_rate, variability, tail_ratio) | `total_time` | No |
39
44
  | `--sort-order <order>` | asc or desc | `desc` | No |
40
45
  | `--limit <n>` | Rows to show (max 100) | `20` | No |
41
46
  | `--offset <n>` | Page offset | - | No |
42
47
  | `--json` | Output in JSON format | - | No |
48
+
49
+ ### `traces trend`
50
+
51
+ Show how one operation's latency moved, day by day, with deployments
52
+
53
+ **Options:**
54
+
55
+ | Flag | Description | Default | Required |
56
+ |------|-------------|---------|----------|
57
+ | `--project-id <id>` | Project ID | - | No |
58
+ | `--service <name>` | Service of the operation | - | No |
59
+ | `--operation <name>` | The operation (span name) | - | No |
60
+ | `--days <n>` | Days to show (max 30) | `14` | No |
61
+ | `--json` | Output the hourly points in JSON format | - | No |
62
+
63
+ ### `traces regressions`
64
+
65
+ List the operations that got slower or faster after a deployment
66
+
67
+ **Options:**
68
+
69
+ | Flag | Description | Default | Required |
70
+ |------|-------------|---------|----------|
71
+ | `--project-id <id>` | Project ID | - | No |
72
+ | `--deployment-id <id>` | Deployment to compare across | - | No |
73
+ | `--json` | Output in JSON format | - | No |
74
+
75
+ ### `traces breakdown`
76
+
77
+ Show where the time inside one operation goes: queries, downstream calls, its own code
78
+
79
+ **Options:**
80
+
81
+ | Flag | Description | Default | Required |
82
+ |------|-------------|---------|----------|
83
+ | `--project-id <id>` | Project ID | - | No |
84
+ | `--service <name>` | Service of the operation | - | No |
85
+ | `--operation <name>` | The operation (span name) | - | No |
86
+ | `--sample <kind>` | Calls to sample (recent, slow) | `recent` | No |
87
+ | `--attribute <key>` | Also split the calls by this attribute, e.g. http.route | - | No |
88
+ | `--json` | Output in JSON format | - | No |
89
+
90
+ ### `traces page`
91
+
92
+ Compare a page's web vitals with the backend requests that served it
93
+
94
+ **Options:**
95
+
96
+ | Flag | Description | Default | Required |
97
+ |------|-------------|---------|----------|
98
+ | `--project-id <id>` | Project ID | - | No |
99
+ | `--path <path>` | The page path, e.g. /checkout | - | No |
100
+ | `--json` | Output in JSON format | - | No |