@temps-sdk/cli 0.2.0-beta.1 → 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.
Files changed (68) hide show
  1. package/dist/index.js +68378 -53718
  2. package/dist/skills/temps/SKILL.md +1 -0
  3. package/dist/skills/temps/howtos/agent-handoff.md +106 -0
  4. package/dist/skills/temps/references/commands/INDEX.md +6 -0
  5. package/dist/skills/temps/references/commands/agents.md +731 -0
  6. package/dist/skills/temps/references/commands/ai.md +2636 -11
  7. package/dist/skills/temps/references/commands/alarms.md +125 -0
  8. package/dist/skills/temps/references/commands/analytics.md +1001 -3
  9. package/dist/skills/temps/references/commands/apikeys.md +48 -1
  10. package/dist/skills/temps/references/commands/audit.md +1 -0
  11. package/dist/skills/temps/references/commands/backups.md +306 -0
  12. package/dist/skills/temps/references/commands/blob.md +169 -0
  13. package/dist/skills/temps/references/commands/cloud.md +59 -0
  14. package/dist/skills/temps/references/commands/cluster.md +223 -0
  15. package/dist/skills/temps/references/commands/containers.md +45 -0
  16. package/dist/skills/temps/references/commands/custom-domains.md +32 -0
  17. package/dist/skills/temps/references/commands/data.md +1 -0
  18. package/dist/skills/temps/references/commands/deploy-image.md +3 -1
  19. package/dist/skills/temps/references/commands/deploy-local-image.md +3 -0
  20. package/dist/skills/temps/references/commands/deployments.md +559 -0
  21. package/dist/skills/temps/references/commands/dns-provider.md +63 -0
  22. package/dist/skills/temps/references/commands/domains.md +104 -0
  23. package/dist/skills/temps/references/commands/email-domains.md +1 -0
  24. package/dist/skills/temps/references/commands/email-providers.md +59 -1
  25. package/dist/skills/temps/references/commands/emails.md +91 -0
  26. package/dist/skills/temps/references/commands/environments.md +447 -2
  27. package/dist/skills/temps/references/commands/errors.md +563 -3
  28. package/dist/skills/temps/references/commands/flags.md +76 -0
  29. package/dist/skills/temps/references/commands/funnels.md +22 -2
  30. package/dist/skills/temps/references/commands/incidents.md +18 -0
  31. package/dist/skills/temps/references/commands/ip-access.md +96 -1
  32. package/dist/skills/temps/references/commands/kv.md +184 -0
  33. package/dist/skills/temps/references/commands/load-balancer.md +2 -0
  34. package/dist/skills/temps/references/commands/login.md +4 -1
  35. package/dist/skills/temps/references/commands/logs.md +272 -0
  36. package/dist/skills/temps/references/commands/migrate.md +17 -0
  37. package/dist/skills/temps/references/commands/monitors.md +386 -0
  38. package/dist/skills/temps/references/commands/network-policy.md +27 -0
  39. package/dist/skills/temps/references/commands/nodes.md +155 -2
  40. package/dist/skills/temps/references/commands/notifications.md +149 -0
  41. package/dist/skills/temps/references/commands/otel.md +436 -0
  42. package/dist/skills/temps/references/commands/platform.md +53 -0
  43. package/dist/skills/temps/references/commands/plugin.md +76 -0
  44. package/dist/skills/temps/references/commands/preview-gateway.md +91 -0
  45. package/dist/skills/temps/references/commands/project-groups.md +31 -0
  46. package/dist/skills/temps/references/commands/projects.md +452 -6
  47. package/dist/skills/temps/references/commands/providers.md +519 -0
  48. package/dist/skills/temps/references/commands/proxy-logs.md +111 -0
  49. package/dist/skills/temps/references/commands/revenue.md +219 -0
  50. package/dist/skills/temps/references/commands/sandbox.md +699 -9
  51. package/dist/skills/temps/references/commands/secrets.md +3 -0
  52. package/dist/skills/temps/references/commands/server.md +107 -0
  53. package/dist/skills/temps/references/commands/services.md +830 -5
  54. package/dist/skills/temps/references/commands/settings.md +346 -0
  55. package/dist/skills/temps/references/commands/shield.md +354 -0
  56. package/dist/skills/temps/references/commands/status-pages.md +103 -3
  57. package/dist/skills/temps/references/commands/teams.md +14 -0
  58. package/dist/skills/temps/references/commands/templates.md +14 -0
  59. package/dist/skills/temps/references/commands/tokens.md +106 -0
  60. package/dist/skills/temps/references/commands/traces.md +149 -0
  61. package/dist/skills/temps/references/commands/tunnels.md +2 -0
  62. package/dist/skills/temps/references/commands/users.md +111 -0
  63. package/dist/skills/temps/references/commands/vault.md +662 -0
  64. package/dist/skills/temps/references/commands/webhooks.md +4 -0
  65. package/dist/skills/temps/references/commands/workflows.md +347 -0
  66. package/dist/skills/temps/scripts/generate_command_references.py +5 -3
  67. package/dist/skills/temps/scripts/test_generate_command_references.py +3 -1
  68. package/package.json +3 -2
@@ -4,6 +4,38 @@
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
+ - [`deployments list`](#deployments-list-alias-ls)
10
+ - [`deployments status`](#deployments-status)
11
+ - [`deployments rollback`](#deployments-rollback)
12
+ - [`deployments cancel`](#deployments-cancel)
13
+ - [`deployments pause`](#deployments-pause)
14
+ - [`deployments resume`](#deployments-resume)
15
+ - [`deployments teardown`](#deployments-teardown)
16
+ - [`deployments logs`](#deployments-logs)
17
+ - [`deployments container-logs`](#deployments-container-logs)
18
+ - [`deployments failure-report`](#deployments-failure-report)
19
+ - [`deployments get-activity-graph`](#deployments-get-activity-graph)
20
+ - [`deployments get-latest-media`](#deployments-get-latest-media)
21
+ - [`deployments list-managed-environment-variables`](#deployments-list-managed-environment-variables)
22
+ - [`deployments metrics`](#deployments-metrics)
23
+ - [`deployments compose`](#deployments-compose)
24
+ - [`deployments purge-asset-cache`](#deployments-purge-asset-cache)
25
+ - [`deployments list-container-logs`](#deployments-list-container-logs)
26
+ - [`deployments get-container-log-content`](#deployments-get-container-log-content)
27
+ - [`deployments tail-job-logs`](#deployments-tail-job-logs)
28
+ - [`deployments get-operations`](#deployments-get-operations)
29
+ - [`deployments execute-operation`](#deployments-execute-operation)
30
+ - [`deployments get-operation-status`](#deployments-get-operation-status)
31
+ - [`deployments promote`](#deployments-promote)
32
+ - [`deployments purge-environment-asset-cache`](#deployments-purge-environment-asset-cache)
33
+ - [`deployments get-container-logs`](#deployments-get-container-logs)
34
+ - [`deployments get-container-logs-by-id`](#deployments-get-container-logs-by-id)
35
+ - [`deployments deploy-from-image-upload`](#deployments-deploy-from-image-upload)
36
+ - [`deployments images`](#deployments-images)
37
+ - [`deployments static-bundles`](#deployments-static-bundles)
38
+
7
39
  ## `deployments` (alias: `deploys`)
8
40
 
9
41
  Manage deployments
@@ -20,6 +52,25 @@ Manage deployments
20
52
  - `logs` - Show deployment build logs
21
53
  - `container-logs` - Show live container logs, including retained failed deployments
22
54
  - `failure-report` - Preview or send a redacted deploy-failure trace
55
+ - `get-activity-graph` - Get deployment activity graph showing daily deployment counts Similar to GitHub's contribution graph
56
+ - `get-latest-media` - Get the latest deployment URL and screenshot location for multiple projects
57
+ - `list-managed-environment-variables` - List the environment variables generated by Temps for a deployment preset
58
+ - `metrics` - Metrics commands
59
+ - `compose` - Compose commands
60
+ - `purge-asset-cache` - Purge all cached static assets for a project
61
+ - `list-container-logs` - List the captured (historical) container-log dumps for a deployment
62
+ - `get-container-log-content` - Get the captured text content of a single historical container-log dump
63
+ - `tail-job-logs` - Tail logs for a specific deployment job in real-time via WebSocket
64
+ - `get-operations` - Get all operations for a deployment
65
+ - `execute-operation` - Execute a deployment operation (deploy, mark_complete, take_screenshot)
66
+ - `get-operation-status` - Get the status of a specific operation type
67
+ - `promote` - Promote a deployment to another environment
68
+ - `purge-environment-asset-cache` - Purge cached static assets for a specific environment
69
+ - `get-container-logs` - Get logs for a container in an environment via WebSocket
70
+ - `get-container-logs-by-id` - Get logs for a specific container by container ID via WebSocket
71
+ - `deploy-from-image-upload` - Deploy from an uploaded Docker image tarball
72
+ - `images` - Images commands
73
+ - `static-bundles` - Static bundles commands
23
74
 
24
75
  ### `deployments list` (alias: `ls`)
25
76
 
@@ -171,3 +222,511 @@ Send a failure report to the Temps team. Reads report text from --text-file, or
171
222
  | `-d, --deployment-id <id>` | Deployment ID | - | Yes |
172
223
  | `-j, --job-id <id>` | Failed job ID (see "deployments logs") | - | Yes |
173
224
  | `--text-file <path>` | Read the (already-reviewed) report text from a file | - | No |
225
+
226
+ ### `deployments get-activity-graph`
227
+
228
+ Get deployment activity graph showing daily deployment counts Similar to GitHub's contribution graph
229
+
230
+ **Options:**
231
+
232
+ | Flag | Description | Default | Required |
233
+ |------|-------------|---------|----------|
234
+ | `--project-id <n>` | Filter by project ID (optional) | - | No |
235
+ | `--environment-id <n>` | Filter by environment ID (optional) | - | No |
236
+ | `--days <n>` | Number of days to include (default: 365) | - | No |
237
+ | `--json` | Output in JSON format | - | No |
238
+
239
+ ### `deployments get-latest-media`
240
+
241
+ Get the latest deployment URL and screenshot location for multiple projects
242
+
243
+ **Options:**
244
+
245
+ | Flag | Description | Default | Required |
246
+ |------|-------------|---------|----------|
247
+ | `--project-ids <value>` | Comma-separated project IDs [required] | - | No |
248
+ | `--json` | Output in JSON format | - | No |
249
+
250
+ ### `deployments list-managed-environment-variables`
251
+
252
+ List the environment variables generated by Temps for a deployment preset
253
+
254
+ **Options:**
255
+
256
+ | Flag | Description | Default | Required |
257
+ |------|-------------|---------|----------|
258
+ | `--preset <value>` | Framework preset used to select public browser variable names [required] | - | No |
259
+ | `--json` | Output in JSON format | - | No |
260
+
261
+ ### `deployments metrics`
262
+
263
+ Metrics commands
264
+
265
+ **Subcommands:**
266
+
267
+ - `get-range` - Fetch a time-series range for a single metric on a deployment
268
+ - `toggle` - Enable or disable OTLP metric ingestion for a deployment
269
+ - `get-latest` - Fetch the most-recent metric values for a deployment
270
+
271
+ #### `deployments metrics get-range`
272
+
273
+ Fetch a time-series range for a single metric on a deployment
274
+
275
+ **Usage:** `deployments metrics get-range <id> [options]`
276
+
277
+ **Options:**
278
+
279
+ | Flag | Description | Default | Required |
280
+ |------|-------------|---------|----------|
281
+ | `--metric <value>` | Metric name, e.g. '"pg.connections_active"' [required] | - | No |
282
+ | `--range <value>` | Time window: '"1h"' \| '"6h"' \| '"24h"' \| '"7d"' | - | No |
283
+ | `--start-time <value>` | Explicit window start (ISO 8601) | - | No |
284
+ | `--end-time <value>` | Explicit window end (ISO 8601) | - | No |
285
+ | `--json` | Output in JSON format | - | No |
286
+
287
+ #### `deployments metrics toggle`
288
+
289
+ Enable or disable OTLP metric ingestion for a deployment
290
+
291
+ **Usage:** `deployments metrics toggle <id> [options]`
292
+
293
+ **Options:**
294
+
295
+ | Flag | Description | Default | Required |
296
+ |------|-------------|---------|----------|
297
+ | `--enabled` | Whether to enable ('true') or disable ('false') metric ingestion [required] | - | No |
298
+ | `--no-enabled` | Set enabled to false | - | No |
299
+ | `--path <value>` | Prometheus scrape path (optional, defaults to '/metrics') | - | No |
300
+ | `--port <n>` | Prometheus scrape port (optional) | - | No |
301
+ | `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
302
+ | `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
303
+ | `--json` | Output in JSON format | - | No |
304
+
305
+ #### `deployments metrics get-latest`
306
+
307
+ Fetch the most-recent metric values for a deployment
308
+
309
+ **Usage:** `deployments metrics get-latest <id> [options]`
310
+
311
+ **Options:**
312
+
313
+ | Flag | Description | Default | Required |
314
+ |------|-------------|---------|----------|
315
+ | `--json` | Output in JSON format | - | No |
316
+
317
+ ### `deployments compose`
318
+
319
+ Compose commands
320
+
321
+ **Subcommands:**
322
+
323
+ - `get-status` - The host's Docker Compose CLI, as probed at startup
324
+ - `get-validation` - The project's most recent stored Compose check (from its last deployment or the revalidation after an..
325
+ - `run-check` - Run the deploy job's Compose configuration check for a deployment, without deploying: the deployment's..
326
+ - `get-placement` - Where this environment's Compose stack lives: its home node, a pending move, and whether the environment's..
327
+ - `move-stack` - Move this environment's Compose stack to another node
328
+
329
+ #### `deployments compose get-status`
330
+
331
+ The host's Docker Compose CLI, as probed at startup
332
+
333
+ **Options:**
334
+
335
+ | Flag | Description | Default | Required |
336
+ |------|-------------|---------|----------|
337
+ | `--json` | Output in JSON format | - | No |
338
+
339
+ #### `deployments compose get-validation`
340
+
341
+ The project's most recent stored Compose check (from its last deployment or the revalidation after an..
342
+
343
+ **Options:**
344
+
345
+ | Flag | Description | Default | Required |
346
+ |------|-------------|---------|----------|
347
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
348
+ | `--json` | Output in JSON format | - | No |
349
+
350
+ #### `deployments compose run-check`
351
+
352
+ Run the deploy job's Compose configuration check for a deployment, without deploying: the deployment's..
353
+
354
+ **Usage:** `deployments compose run-check <deployment-id> [options]`
355
+
356
+ **Options:**
357
+
358
+ | Flag | Description | Default | Required |
359
+ |------|-------------|---------|----------|
360
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
361
+ | `--json` | Output in JSON format | - | No |
362
+
363
+ #### `deployments compose get-placement`
364
+
365
+ Where this environment's Compose stack lives: its home node, a pending move, and whether the environment's..
366
+
367
+ **Usage:** `deployments compose get-placement <environment-id> [options]`
368
+
369
+ **Options:**
370
+
371
+ | Flag | Description | Default | Required |
372
+ |------|-------------|---------|----------|
373
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
374
+ | `--json` | Output in JSON format | - | No |
375
+
376
+ #### `deployments compose move-stack`
377
+
378
+ Move this environment's Compose stack to another node
379
+
380
+ **Usage:** `deployments compose move-stack <environment-id> [options]`
381
+
382
+ **Options:**
383
+
384
+ | Flag | Description | Default | Required |
385
+ |------|-------------|---------|----------|
386
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
387
+ | `--acknowledge-data-loss` | The stack starts on the new node with empty volumes; the data on its current home is kept there but not copied | - | No |
388
+ | `--no-acknowledge-data-loss` | Set acknowledge_data_loss to false | - | No |
389
+ | `--node-id <n>` | The node to move the stack to; '0' is the control plane [required] | - | No |
390
+ | `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
391
+ | `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
392
+ | `--json` | Output in JSON format | - | No |
393
+
394
+ ### `deployments purge-asset-cache`
395
+
396
+ Purge all cached static assets for a project
397
+
398
+ **Options:**
399
+
400
+ | Flag | Description | Default | Required |
401
+ |------|-------------|---------|----------|
402
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
403
+ | `-y, --yes` | Do not ask for confirmation | - | No |
404
+ | `--json` | Output in JSON format | - | No |
405
+
406
+ ### `deployments list-container-logs`
407
+
408
+ List the captured (historical) container-log dumps for a deployment
409
+
410
+ **Usage:** `deployments list-container-logs <deployment-id> [options]`
411
+
412
+ **Options:**
413
+
414
+ | Flag | Description | Default | Required |
415
+ |------|-------------|---------|----------|
416
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
417
+ | `--json` | Output in JSON format | - | No |
418
+
419
+ ### `deployments get-container-log-content`
420
+
421
+ Get the captured text content of a single historical container-log dump
422
+
423
+ **Usage:** `deployments get-container-log-content <deployment-id> <log-id> [options]`
424
+
425
+ **Options:**
426
+
427
+ | Flag | Description | Default | Required |
428
+ |------|-------------|---------|----------|
429
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
430
+ | `--json` | Output in JSON format | - | No |
431
+
432
+ ### `deployments tail-job-logs`
433
+
434
+ Tail logs for a specific deployment job in real-time via WebSocket
435
+
436
+ **Usage:** `deployments tail-job-logs <deployment-id> <job-id> [options]`
437
+
438
+ **Options:**
439
+
440
+ | Flag | Description | Default | Required |
441
+ |------|-------------|---------|----------|
442
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
443
+ | `--json` | Output in JSON format | - | No |
444
+
445
+ ### `deployments get-operations`
446
+
447
+ Get all operations for a deployment
448
+
449
+ **Usage:** `deployments get-operations <deployment-id> [options]`
450
+
451
+ **Options:**
452
+
453
+ | Flag | Description | Default | Required |
454
+ |------|-------------|---------|----------|
455
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
456
+ | `--json` | Output in JSON format | - | No |
457
+
458
+ ### `deployments execute-operation`
459
+
460
+ Execute a deployment operation (deploy, mark_complete, take_screenshot)
461
+
462
+ **Usage:** `deployments execute-operation <deployment-id> [options]`
463
+
464
+ **Options:**
465
+
466
+ | Flag | Description | Default | Required |
467
+ |------|-------------|---------|----------|
468
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
469
+ | `--operation <value>` | Body field operation [required] | - | No |
470
+ | `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
471
+ | `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
472
+ | `--json` | Output in JSON format | - | No |
473
+
474
+ ### `deployments get-operation-status`
475
+
476
+ Get the status of a specific operation type
477
+
478
+ **Usage:** `deployments get-operation-status <deployment-id> <operation-type> [options]`
479
+
480
+ **Options:**
481
+
482
+ | Flag | Description | Default | Required |
483
+ |------|-------------|---------|----------|
484
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
485
+ | `--json` | Output in JSON format | - | No |
486
+
487
+ ### `deployments promote`
488
+
489
+ Promote a deployment to another environment
490
+
491
+ **Usage:** `deployments promote <deployment-id> [options]`
492
+
493
+ **Options:**
494
+
495
+ | Flag | Description | Default | Required |
496
+ |------|-------------|---------|----------|
497
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
498
+ | `--target-environment-id <n>` | Target environment ID to promote the deployment to [required] | - | No |
499
+ | `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
500
+ | `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
501
+ | `--json` | Output in JSON format | - | No |
502
+
503
+ ### `deployments purge-environment-asset-cache`
504
+
505
+ Purge cached static assets for a specific environment
506
+
507
+ **Usage:** `deployments purge-environment-asset-cache <environment-id> [options]`
508
+
509
+ **Options:**
510
+
511
+ | Flag | Description | Default | Required |
512
+ |------|-------------|---------|----------|
513
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
514
+ | `-y, --yes` | Do not ask for confirmation | - | No |
515
+ | `--json` | Output in JSON format | - | No |
516
+
517
+ ### `deployments get-container-logs`
518
+
519
+ Get logs for a container in an environment via WebSocket
520
+
521
+ **Usage:** `deployments get-container-logs <environment-id> [options]`
522
+
523
+ **Options:**
524
+
525
+ | Flag | Description | Default | Required |
526
+ |------|-------------|---------|----------|
527
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
528
+ | `--start-date <n>` | Start date for logs | - | No |
529
+ | `--end-date <n>` | End date for logs | - | No |
530
+ | `--tail <value>` | Number of lines to tail (or 'all') | - | No |
531
+ | `--container-name <value>` | Optional container name (defaults to first/primary container) | - | No |
532
+ | `--timestamps` | Include timestamps in log output (default: false) | - | No |
533
+ | `--no-timestamps` | Set timestamps to false | - | No |
534
+ | `--follow` | Follow log output in real-time (default: true) | - | No |
535
+ | `--no-follow` | Set follow to false | - | No |
536
+ | `--json` | Output in JSON format | - | No |
537
+
538
+ ### `deployments get-container-logs-by-id`
539
+
540
+ Get logs for a specific container by container ID via WebSocket
541
+
542
+ **Usage:** `deployments get-container-logs-by-id <environment-id> <container-id> [options]`
543
+
544
+ **Options:**
545
+
546
+ | Flag | Description | Default | Required |
547
+ |------|-------------|---------|----------|
548
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
549
+ | `--start-date <n>` | Start date for logs | - | No |
550
+ | `--end-date <n>` | End date for logs | - | No |
551
+ | `--tail <value>` | Number of lines to tail (or 'all') | - | No |
552
+ | `--timestamps` | Include timestamps in log output (default: false) | - | No |
553
+ | `--no-timestamps` | Set timestamps to false | - | No |
554
+ | `--follow` | Follow log output in real-time (default: true) | - | No |
555
+ | `--no-follow` | Set follow to false | - | No |
556
+ | `--json` | Output in JSON format | - | No |
557
+
558
+ ### `deployments deploy-from-image-upload`
559
+
560
+ Deploy from an uploaded Docker image tarball
561
+
562
+ **Usage:** `deployments deploy-from-image-upload <environment-id> [options]`
563
+
564
+ **Options:**
565
+
566
+ | Flag | Description | Default | Required |
567
+ |------|-------------|---------|----------|
568
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
569
+ | `--tag <value>` | Deprecated display hint retained for wire compatibility | - | No |
570
+ | `--health-check-path <value>` | Optional HTTP health-check path override (e.g. "/api/healthz") | - | No |
571
+ | `--upload-request-id <value>` | Client-generated UUID identifying this upload attempt | - | No |
572
+ | `--json` | Output in JSON format | - | No |
573
+
574
+ ### `deployments images`
575
+
576
+ Images commands
577
+
578
+ **Subcommands:**
579
+
580
+ - `list-remote-external` - List external images for a project
581
+ - `register-external` - Register an external Docker image
582
+ - `delete-external` - Delete an external image
583
+ - `get-remote-external` - Get details of a specific external image
584
+ - `list-external` - List all external images for a project
585
+ - `push-external` - Push an external Docker image
586
+ - `get-external` - Get details of a specific external image
587
+
588
+ #### `deployments images list-remote-external`
589
+
590
+ List external images for a project
591
+
592
+ **Options:**
593
+
594
+ | Flag | Description | Default | Required |
595
+ |------|-------------|---------|----------|
596
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
597
+ | `--page <n>` | Page number (default: 1) | - | No |
598
+ | `--page-size <n>` | Items per page (default: 20) | - | No |
599
+ | `--json` | Output in JSON format | - | No |
600
+
601
+ #### `deployments images register-external`
602
+
603
+ Register an external Docker image
604
+
605
+ **Options:**
606
+
607
+ | Flag | Description | Default | Required |
608
+ |------|-------------|---------|----------|
609
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
610
+ | `--digest <value>` | Image digest (sha256:...) | - | No |
611
+ | `--image-ref <value>` | Docker image reference (e.g., "ghcr.io/org/app:v1.0") [required] | - | No |
612
+ | `--metadata <json>` | Additional metadata (JSON) | - | No |
613
+ | `--tag <value>` | Image tag | - | No |
614
+ | `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
615
+ | `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
616
+ | `--json` | Output in JSON format | - | No |
617
+
618
+ #### `deployments images delete-external`
619
+
620
+ Delete an external image
621
+
622
+ **Usage:** `deployments images delete-external <image-id> [options]`
623
+
624
+ **Options:**
625
+
626
+ | Flag | Description | Default | Required |
627
+ |------|-------------|---------|----------|
628
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
629
+ | `-y, --yes` | Do not ask for confirmation | - | No |
630
+ | `--json` | Output in JSON format | - | No |
631
+
632
+ #### `deployments images get-remote-external`
633
+
634
+ Get details of a specific external image
635
+
636
+ **Usage:** `deployments images get-remote-external <image-id> [options]`
637
+
638
+ **Options:**
639
+
640
+ | Flag | Description | Default | Required |
641
+ |------|-------------|---------|----------|
642
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
643
+ | `--json` | Output in JSON format | - | No |
644
+
645
+ #### `deployments images list-external`
646
+
647
+ List all external images for a project
648
+
649
+ **Options:**
650
+
651
+ | Flag | Description | Default | Required |
652
+ |------|-------------|---------|----------|
653
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
654
+ | `--json` | Output in JSON format | - | No |
655
+
656
+ #### `deployments images push-external`
657
+
658
+ Push an external Docker image
659
+
660
+ **Options:**
661
+
662
+ | Flag | Description | Default | Required |
663
+ |------|-------------|---------|----------|
664
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
665
+ | `--image-ref <value>` | Body field image_ref [required] | - | No |
666
+ | `--metadata <json>` | Body field metadata (JSON) | - | No |
667
+ | `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
668
+ | `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
669
+ | `--json` | Output in JSON format | - | No |
670
+
671
+ #### `deployments images get-external`
672
+
673
+ Get details of a specific external image
674
+
675
+ **Usage:** `deployments images get-external <image-id> [options]`
676
+
677
+ **Options:**
678
+
679
+ | Flag | Description | Default | Required |
680
+ |------|-------------|---------|----------|
681
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
682
+ | `--json` | Output in JSON format | - | No |
683
+
684
+ ### `deployments static-bundles`
685
+
686
+ Static bundles commands
687
+
688
+ **Subcommands:**
689
+
690
+ - `list` - List static bundles for a project
691
+ - `delete` - Delete a static bundle
692
+ - `get` - Get details of a specific static bundle
693
+
694
+ #### `deployments static-bundles list`
695
+
696
+ List static bundles for a project
697
+
698
+ **Options:**
699
+
700
+ | Flag | Description | Default | Required |
701
+ |------|-------------|---------|----------|
702
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
703
+ | `--page <n>` | Page number (default: 1) | - | No |
704
+ | `--page-size <n>` | Items per page (default: 20) | - | No |
705
+ | `--json` | Output in JSON format | - | No |
706
+
707
+ #### `deployments static-bundles delete`
708
+
709
+ Delete a static bundle
710
+
711
+ **Usage:** `deployments static-bundles delete <bundle-id> [options]`
712
+
713
+ **Options:**
714
+
715
+ | Flag | Description | Default | Required |
716
+ |------|-------------|---------|----------|
717
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
718
+ | `-y, --yes` | Do not ask for confirmation | - | No |
719
+ | `--json` | Output in JSON format | - | No |
720
+
721
+ #### `deployments static-bundles get`
722
+
723
+ Get details of a specific static bundle
724
+
725
+ **Usage:** `deployments static-bundles get <bundle-id> [options]`
726
+
727
+ **Options:**
728
+
729
+ | Flag | Description | Default | Required |
730
+ |------|-------------|---------|----------|
731
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
732
+ | `--json` | Output in JSON format | - | No |
@@ -19,6 +19,9 @@ Manage DNS providers and managed domains
19
19
  - `zones` - List DNS zones for a provider
20
20
  - `domains` - Manage domains associated with a DNS provider
21
21
  - `lookup` - Lookup DNS A records for a domain
22
+ - `update-managed-domain` - Update a managed domain's settings (hostname mode, sync opt-in, auto-manage)
23
+ - `apply-hostname-mode` - Apply a hostname mode to a managed domain (persist + optional DNS sync + route reload)
24
+ - `preview-hostname-mode` - Preview the impact of switching a managed domain's hostname mode
22
25
 
23
26
  ### `dns-provider list` (alias: `ls`)
24
27
 
@@ -159,6 +162,11 @@ Add a managed domain to a provider
159
162
  | `--id <id>` | Provider ID | - | Yes |
160
163
  | `-d, --domain <domain>` | Domain name | - | Yes |
161
164
  | `--auto-manage` | Enable auto-management for DNS records | - | No |
165
+ | `--generated-hostname-mode <value>` | Layout of generated hostnames (one of: standard, flat) | - | No |
166
+ | `--proxied-by-default` | Create records proxied through the provider (Cloudflare) by default | - | No |
167
+ | `--no-proxied-by-default` | Set proxied_by_default to false | - | No |
168
+ | `--sync-generated-records` | Keep generated hostnames' DNS records in this zone in sync | - | No |
169
+ | `--no-sync-generated-records` | Set sync_generated_records to false | - | No |
162
170
 
163
171
  #### `dns-provider domains remove` (alias: `rm`)
164
172
 
@@ -194,3 +202,58 @@ Lookup DNS A records for a domain
194
202
  |------|-------------|---------|----------|
195
203
  | `-d, --domain <domain>` | Domain name to lookup | - | Yes |
196
204
  | `--json` | Output in JSON format | - | No |
205
+
206
+ ### `dns-provider update-managed-domain`
207
+
208
+ Update a managed domain's settings (hostname mode, sync opt-in, auto-manage)
209
+
210
+ **Usage:** `dns-provider update-managed-domain <provider-id> <domain> [options]`
211
+
212
+ **Options:**
213
+
214
+ | Flag | Description | Default | Required |
215
+ |------|-------------|---------|----------|
216
+ | `--auto-manage` | Toggle automatic DNS management for this domain | - | No |
217
+ | `--no-auto-manage` | Set auto_manage to false | - | No |
218
+ | `--generated-hostname-mode <value>` | '"standard"' or '"flat"' | - | No |
219
+ | `--proxied-by-default` | Default proxy mode for newly managed records; 'false' is an explicit override | - | No |
220
+ | `--no-proxied-by-default` | Set proxied_by_default to false | - | No |
221
+ | `--sync-generated-records` | Toggle DNS record sync for this domain | - | No |
222
+ | `--no-sync-generated-records` | Set sync_generated_records to false | - | No |
223
+ | `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
224
+ | `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
225
+ | `--json` | Output in JSON format | - | No |
226
+
227
+ ### `dns-provider apply-hostname-mode`
228
+
229
+ Apply a hostname mode to a managed domain (persist + optional DNS sync + route reload)
230
+
231
+ **Usage:** `dns-provider apply-hostname-mode <provider-id> <domain> [options]`
232
+
233
+ **Options:**
234
+
235
+ | Flag | Description | Default | Required |
236
+ |------|-------------|---------|----------|
237
+ | `--adopt-records <json>` | Conflicting records, from the preview's 'conflicts', that the user confirmed the sync may adopt — one... (JSON) | - | No |
238
+ | `--mode <value>` | Target mode to apply: '"standard"' or '"flat"' [required] | - | No |
239
+ | `--skip-records <json>` | Conflicting hostnames, from the preview's 'conflicts', that the user chose to leave untouched: the sync... (JSON) | - | No |
240
+ | `--sync-dns` | Also reconcile the provider's DNS zone for the affected hostnames | - | No |
241
+ | `--no-sync-dns` | Set sync_dns to false | - | No |
242
+ | `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
243
+ | `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
244
+ | `--json` | Output in JSON format | - | No |
245
+
246
+ ### `dns-provider preview-hostname-mode`
247
+
248
+ Preview the impact of switching a managed domain's hostname mode
249
+
250
+ **Usage:** `dns-provider preview-hostname-mode <provider-id> <domain> [options]`
251
+
252
+ **Options:**
253
+
254
+ | Flag | Description | Default | Required |
255
+ |------|-------------|---------|----------|
256
+ | `--mode <value>` | Target mode: standard\|flat [required] | - | No |
257
+ | `--sync` | Include DNS record changes | - | No |
258
+ | `--no-sync` | Set sync to false | - | No |
259
+ | `--json` | Output in JSON format | - | No |