@temps-sdk/cli 0.2.0-beta.1 → 0.2.0-beta.3

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 (73) hide show
  1. package/dist/index.js +104770 -87351
  2. package/dist/skills/temps/SKILL.md +6 -3
  3. package/dist/skills/temps/evals/evals.json +38 -0
  4. package/dist/skills/temps/howtos/agent-handoff.md +106 -0
  5. package/dist/skills/temps/howtos/install-temps.md +151 -0
  6. package/dist/skills/temps/references/commands/INDEX.md +7 -0
  7. package/dist/skills/temps/references/commands/agents.md +731 -0
  8. package/dist/skills/temps/references/commands/ai.md +2636 -11
  9. package/dist/skills/temps/references/commands/alarms.md +125 -0
  10. package/dist/skills/temps/references/commands/analytics.md +1001 -3
  11. package/dist/skills/temps/references/commands/apikeys.md +48 -1
  12. package/dist/skills/temps/references/commands/audit.md +1 -0
  13. package/dist/skills/temps/references/commands/backups.md +306 -0
  14. package/dist/skills/temps/references/commands/blob.md +169 -0
  15. package/dist/skills/temps/references/commands/cloud.md +59 -0
  16. package/dist/skills/temps/references/commands/cluster.md +223 -0
  17. package/dist/skills/temps/references/commands/containers.md +45 -0
  18. package/dist/skills/temps/references/commands/custom-domains.md +32 -0
  19. package/dist/skills/temps/references/commands/data.md +1 -0
  20. package/dist/skills/temps/references/commands/deploy-image.md +3 -1
  21. package/dist/skills/temps/references/commands/deploy-local-image.md +3 -0
  22. package/dist/skills/temps/references/commands/deployments.md +559 -0
  23. package/dist/skills/temps/references/commands/dns-provider.md +63 -0
  24. package/dist/skills/temps/references/commands/domains.md +104 -0
  25. package/dist/skills/temps/references/commands/email-domains.md +1 -0
  26. package/dist/skills/temps/references/commands/email-providers.md +59 -1
  27. package/dist/skills/temps/references/commands/emails.md +91 -0
  28. package/dist/skills/temps/references/commands/environments.md +483 -2
  29. package/dist/skills/temps/references/commands/errors.md +563 -3
  30. package/dist/skills/temps/references/commands/flags.md +76 -0
  31. package/dist/skills/temps/references/commands/funnels.md +22 -2
  32. package/dist/skills/temps/references/commands/incidents.md +18 -0
  33. package/dist/skills/temps/references/commands/ingress.md +26 -0
  34. package/dist/skills/temps/references/commands/ip-access.md +96 -1
  35. package/dist/skills/temps/references/commands/kv.md +184 -0
  36. package/dist/skills/temps/references/commands/load-balancer.md +2 -0
  37. package/dist/skills/temps/references/commands/login.md +4 -1
  38. package/dist/skills/temps/references/commands/logs.md +272 -0
  39. package/dist/skills/temps/references/commands/mcp.md +14 -1
  40. package/dist/skills/temps/references/commands/migrate.md +17 -0
  41. package/dist/skills/temps/references/commands/monitors.md +386 -0
  42. package/dist/skills/temps/references/commands/network-policy.md +27 -0
  43. package/dist/skills/temps/references/commands/nodes.md +155 -2
  44. package/dist/skills/temps/references/commands/notifications.md +149 -0
  45. package/dist/skills/temps/references/commands/otel.md +438 -0
  46. package/dist/skills/temps/references/commands/platform.md +64 -0
  47. package/dist/skills/temps/references/commands/plugin.md +76 -0
  48. package/dist/skills/temps/references/commands/preview-gateway.md +91 -0
  49. package/dist/skills/temps/references/commands/project-groups.md +31 -0
  50. package/dist/skills/temps/references/commands/projects.md +453 -6
  51. package/dist/skills/temps/references/commands/providers.md +519 -0
  52. package/dist/skills/temps/references/commands/proxy-logs.md +111 -0
  53. package/dist/skills/temps/references/commands/revenue.md +219 -0
  54. package/dist/skills/temps/references/commands/sandbox.md +732 -9
  55. package/dist/skills/temps/references/commands/secrets.md +3 -0
  56. package/dist/skills/temps/references/commands/server.md +107 -0
  57. package/dist/skills/temps/references/commands/services.md +831 -5
  58. package/dist/skills/temps/references/commands/settings.md +384 -0
  59. package/dist/skills/temps/references/commands/shield.md +354 -0
  60. package/dist/skills/temps/references/commands/start.md +1 -0
  61. package/dist/skills/temps/references/commands/status-pages.md +103 -3
  62. package/dist/skills/temps/references/commands/teams.md +14 -0
  63. package/dist/skills/temps/references/commands/templates.md +14 -0
  64. package/dist/skills/temps/references/commands/tokens.md +106 -0
  65. package/dist/skills/temps/references/commands/traces.md +149 -0
  66. package/dist/skills/temps/references/commands/tunnels.md +2 -0
  67. package/dist/skills/temps/references/commands/users.md +111 -0
  68. package/dist/skills/temps/references/commands/vault.md +662 -0
  69. package/dist/skills/temps/references/commands/webhooks.md +4 -0
  70. package/dist/skills/temps/references/commands/workflows.md +347 -0
  71. package/dist/skills/temps/scripts/generate_command_references.py +5 -3
  72. package/dist/skills/temps/scripts/test_generate_command_references.py +3 -1
  73. package/package.json +3 -2
@@ -7,12 +7,12 @@ Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing
7
7
  ## Contents
8
8
 
9
9
  - [`projects secrets`](#projects-secrets)
10
- - [`projects list`](#projects-list)
11
- - [`projects create`](#projects-create)
12
- - [`projects cloudflare-capability`](#projects-cloudflare-capability)
13
- - [`projects show`](#projects-show)
10
+ - [`projects list`](#projects-list-alias-ls)
11
+ - [`projects create`](#projects-create-alias-new)
12
+ - [`projects cloudflare-capability`](#projects-cloudflare-capability-alias-delivery-capability)
13
+ - [`projects show`](#projects-show-alias-get)
14
14
  - [`projects group`](#projects-group)
15
- - [`projects update`](#projects-update)
15
+ - [`projects update`](#projects-update-alias-edit)
16
16
  - [`projects settings`](#projects-settings)
17
17
  - [`projects git`](#projects-git)
18
18
  - [`projects source`](#projects-source)
@@ -20,7 +20,28 @@ Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing
20
20
  - [`projects container-security`](#projects-container-security)
21
21
  - [`projects identical-builds`](#projects-identical-builds)
22
22
  - [`projects config`](#projects-config)
23
- - [`projects delete`](#projects-delete)
23
+ - [`projects delete`](#projects-delete-alias-rm)
24
+ - [`projects create-from-template`](#projects-create-from-template)
25
+ - [`projects get-statistics`](#projects-get-statistics)
26
+ - [`projects get-compose-security`](#projects-get-compose-security)
27
+ - [`projects update-compose-security`](#projects-update-compose-security)
28
+ - [`projects update-automatic-deploy`](#projects-update-automatic-deploy)
29
+ - [`projects get-resolved-environment-variables`](#projects-get-resolved-environment-variables)
30
+ - [`projects get-resolved-environment-variable-value`](#projects-get-resolved-environment-variable-value)
31
+ - [`projects get-environment-variable`](#projects-get-environment-variable)
32
+ - [`projects dismiss-environment-variable-secret-suggestion`](#projects-dismiss-environment-variable-secret-suggestion)
33
+ - [`projects get-environment`](#projects-get-environment)
34
+ - [`projects get-environment-domains`](#projects-get-environment-domains)
35
+ - [`projects add-environment-domain`](#projects-add-environment-domain)
36
+ - [`projects delete-environment-domain`](#projects-delete-environment-domain)
37
+ - [`projects update-environment-subdomain`](#projects-update-environment-subdomain)
38
+ - [`projects teardown-environment`](#projects-teardown-environment)
39
+ - [`projects reinstall-github-webhook`](#projects-reinstall-github-webhook)
40
+ - [`projects reinstall-gitlab-webhook`](#projects-reinstall-gitlab-webhook)
41
+ - [`projects get-ingest-setup`](#projects-get-ingest-setup)
42
+ - [`projects update-service-template-runtime`](#projects-update-service-template-runtime)
43
+ - [`projects get-service-template`](#projects-get-service-template)
44
+ - [`projects upgrade-service-template`](#projects-upgrade-service-template)
24
45
 
25
46
  ## `projects` (alias: `project`, `p`)
26
47
 
@@ -43,6 +64,27 @@ Manage services: each one deployable app (the console calls these Services). To
43
64
  - `identical-builds` - Show or change what the project's builds do when an identical build (same repository, commit, build path and build-time values) is already running: build in parallel, queue, or build once and share the image
44
65
  - `config` - Update deployment configuration (resources, replicas)
45
66
  - `delete` (`rm`) - Delete a service
67
+ - `create-from-template` - Create a new project from a template
68
+ - `get-statistics` - Get project statistics
69
+ - `get-compose-security` - Get compose security
70
+ - `update-compose-security` - Update compose security
71
+ - `update-automatic-deploy` - Update automatic deployment setting for a project
72
+ - `get-resolved-environment-variables` - Resolved env vars for a project (manual + integration-sourced, merged)
73
+ - `get-resolved-environment-variable-value` - Reveal the plaintext value of a resolved environment variable
74
+ - `get-environment-variable` - Get one environment variable of a project by its ID
75
+ - `dismiss-environment-variable-secret-suggestion` - Dismiss the "store as secret" suggestion for a regular variable
76
+ - `get-environment` - Get a specific environment by ID or slug
77
+ - `get-environment-domains` - Get all environment domains for a specific environment
78
+ - `add-environment-domain` - Add a new environment domain
79
+ - `delete-environment-domain` - Delete an environment domain
80
+ - `update-environment-subdomain` - Rename the auto-managed subdomain for an environment
81
+ - `teardown-environment` - Teardown an environment and all its active deployments
82
+ - `reinstall-github-webhook` - Install or reinstall the GitHub repository webhook for a project
83
+ - `reinstall-gitlab-webhook` - Reinstall the GitLab webhook for a project
84
+ - `get-ingest-setup` - Get where this project's apps send telemetry
85
+ - `update-service-template-runtime` - Update service template runtime
86
+ - `get-service-template` - Return the immutable service-template release applied to a project together with catalog drift, missing..
87
+ - `upgrade-service-template` - Upgrade project service template
46
88
 
47
89
  ### `projects secrets`
48
90
 
@@ -50,11 +92,25 @@ Manage project secrets — mounted into the deployed container as files at /run/
50
92
 
51
93
  **Subcommands:**
52
94
 
95
+ - `get` - Show one project secret's metadata (the value is never returned)
53
96
  - `list` (`ls`) - List secrets for a project (values are never returned)
54
97
  - `create` (`add`) - Create a project secret (mounted at /run/secrets/<KEY> on the next deployment). Read the value with --value-file or --value-stdin to keep it out of shell history
55
98
  - `update` - Update a project secret (a redeploy is required for running containers to pick it up)
56
99
  - `delete` (`rm`) - Delete a project secret
57
100
 
101
+ #### `projects secrets get`
102
+
103
+ Show one project secret's metadata (the value is never returned)
104
+
105
+ **Usage:** `projects secrets get <secret-id> [options]`
106
+
107
+ **Options:**
108
+
109
+ | Flag | Description | Default | Required |
110
+ |------|-------------|---------|----------|
111
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
112
+ | `--json` | Output in JSON format | - | No |
113
+
58
114
  #### `projects secrets list` (alias: `ls`)
59
115
 
60
116
  List secrets for a project (values are never returned)
@@ -65,6 +121,8 @@ List secrets for a project (values are never returned)
65
121
  |------|-------------|---------|----------|
66
122
  | `-p, --project <project>` | Project slug or ID | - | No |
67
123
  | `-e, --environment <name>` | Filter to one environment | - | No |
124
+ | `--page <n>` | Page number (default: 1) | - | No |
125
+ | `--page-size <n>` | Items per page (default: 20, max: 100) | - | No |
68
126
  | `--json` | Output in JSON format | - | No |
69
127
 
70
128
  #### `projects secrets create` (alias: `add`)
@@ -132,6 +190,8 @@ List all services
132
190
  | `--json` | Output in JSON format | - | No |
133
191
  | `--page <n>` | Page number | - | No |
134
192
  | `--per-page <n>` | Items per page | - | No |
193
+ | `--group <id>` | Only services in this project group (its numeric ID) | - | No |
194
+ | `--ungrouped` | Only services in no project group | - | No |
135
195
 
136
196
  ### `projects create` (alias: `new`)
137
197
 
@@ -155,6 +215,21 @@ Create a new service (git-based or manual deployment); add it to a project with
155
215
  | `--external` | The app runs elsewhere (Vercel, Netlify, a VPS): Temps only receives its telemetry and never deploys it (needs --name with --yes) | - | No |
156
216
  | `--delivery-provider <provider>` | Delivery provider for the new service: none, cloudflare or bunny (default: instance setting; see `projects cloudflare-capability`) | - | No |
157
217
  | `-y, --yes` | Skip optional prompts (services, env vars, set-default) | - | No |
218
+ | `--cloudflare-enabled` | Serve through Cloudflare (overrides the instance default) | - | No |
219
+ | `--no-cloudflare-enabled` | Set cloudflare_enabled to false | - | No |
220
+ | `--custom-domain <value>` | Custom domain to attach to the production environment | - | No |
221
+ | `--expected-slug <value>` | Fail unless the project gets exactly this URL slug | - | No |
222
+ | `--is-on-demand` | Start containers on the first request and stop them when idle | - | No |
223
+ | `--no-is-on-demand` | Set is_on_demand to false | - | No |
224
+ | `--is-public-repo` | The repository is public (cloned without a git connection) | - | No |
225
+ | `--no-is-public-repo` | Set is_public_repo to false | - | No |
226
+ | `--is-web-app` | The app serves HTTP (false for a worker with no port) | - | No |
227
+ | `--no-is-web-app` | Set is_web_app to false | - | No |
228
+ | `--performance-metrics-enabled` | Collect web performance metrics | - | No |
229
+ | `--no-performance-metrics-enabled` | Set performance_metrics_enabled to false | - | No |
230
+ | `--storage-service-env-aliases <json>` | Variable aliases per linked storage service, keyed by service id: app name to injected name, e.g. {"12":{"DATABASE_URL":"POSTGRES_URL"}} (JSON) | - | No |
231
+ | `--use-default-wildcard` | Give environments a hostname under the instance's wildcard domain | - | No |
232
+ | `--no-use-default-wildcard` | Set use_default_wildcard to false | - | No |
158
233
 
159
234
  ### `projects cloudflare-capability` (alias: `delivery-capability`)
160
235
 
@@ -201,6 +276,24 @@ Update service name and description
201
276
  | `-d, --description <description>` | New project description | - | No |
202
277
  | `--json` | Output in JSON format | - | No |
203
278
  | `-y, --yes` | Skip prompts, use provided values (for automation) | - | No |
279
+ | `--build-command <value>` | Build command (overrides the preset) | - | No |
280
+ | `--install-command <value>` | Install command (overrides the preset) | - | No |
281
+ | `--output-dir <value>` | Build output directory (static sites) | - | No |
282
+ | `--cloudflare-enabled` | Serve through Cloudflare | - | No |
283
+ | `--no-cloudflare-enabled` | Set cloudflare_enabled to false | - | No |
284
+ | `--custom-domain <value>` | Custom domain of the production environment | - | No |
285
+ | `--expected-slug <value>` | Fail unless the project keeps exactly this URL slug | - | No |
286
+ | `--is-on-demand` | Start containers on the first request and stop them when idle | - | No |
287
+ | `--no-is-on-demand` | Set is_on_demand to false | - | No |
288
+ | `--is-public-repo` | The repository is public (cloned without a git connection) | - | No |
289
+ | `--no-is-public-repo` | Set is_public_repo to false | - | No |
290
+ | `--is-web-app` | The app serves HTTP (false for a worker with no port) | - | No |
291
+ | `--no-is-web-app` | Set is_web_app to false | - | No |
292
+ | `--performance-metrics-enabled` | Collect web performance metrics | - | No |
293
+ | `--no-performance-metrics-enabled` | Set performance_metrics_enabled to false | - | No |
294
+ | `--preset-config <json>` | Preset-specific build settings as JSON, e.g. {"buildCommand":"bun run build"} (JSON) | - | No |
295
+ | `--use-default-wildcard` | Give environments a hostname under the instance's wildcard domain | - | No |
296
+ | `--no-use-default-wildcard` | Set use_default_wildcard to false | - | No |
204
297
 
205
298
  ### `projects settings`
206
299
 
@@ -223,6 +316,24 @@ Update service settings (name, slug, attack mode, preview environments, vulnerab
223
316
  | `--reset-image-retention` | Clear the per-project image retention override and use the system default | - | No |
224
317
  | `--json` | Output in JSON format | - | No |
225
318
  | `-y, --yes` | Skip prompts (for automation) | - | No |
319
+ | `--ai-alert-summaries-enabled` | Summarize metric alert notifications with AI | - | No |
320
+ | `--no-ai-alert-summaries-enabled` | Set ai_alert_summaries_enabled to false | - | No |
321
+ | `--ai-api-traffic-summary-enabled` | Summarize API traffic analytics with AI | - | No |
322
+ | `--no-ai-api-traffic-summary-enabled` | Set ai_api_traffic_summary_enabled to false | - | No |
323
+ | `--cross-project-trace-sharing` | Show this project's spans in other projects' traces | - | No |
324
+ | `--no-cross-project-trace-sharing` | Set cross_project_trace_sharing to false | - | No |
325
+ | `--error-source-context-enabled` | Show source code in error stack traces (uploads source files) | - | No |
326
+ | `--no-error-source-context-enabled` | Set error_source_context_enabled to false | - | No |
327
+ | `--error-source-root <value>` | Source root for error source context, relative to the checkout | - | No |
328
+ | `--log-ingest-lines-per-sec <n>` | Log ingestion budget for the project's containers, lines per second (0 lifts it) | - | No |
329
+ | `--log-ingest-kib-per-sec <n>` | Log ingestion budget in KiB per second (0 lifts it) | - | No |
330
+ | `--preview-envs-on-demand` | New preview environments start on demand and stop when idle | - | No |
331
+ | `--no-preview-envs-on-demand` | Set preview_envs_on_demand to false | - | No |
332
+ | `--preview-envs-idle-timeout-seconds <n>` | Idle seconds (60-86400) before an on-demand preview stops | - | No |
333
+ | `--preview-envs-wake-timeout-seconds <n>` | Seconds (5-120) to wait for an on-demand preview to wake | - | No |
334
+ | `--serves-own-temps-api` | Send /api/_temps* and /api/otel* on the project's domains to the app instead of Temps | - | No |
335
+ | `--no-serves-own-temps-api` | Set serves_own_temps_api to false | - | No |
336
+ | `--shield-mode <value>` | How Shield acts on its verdicts (one of: off, log, selective, attack) | - | No |
226
337
 
227
338
  ### `projects git`
228
339
 
@@ -241,6 +352,12 @@ Update git repository settings
241
352
  | `--connection <id>` | Git connection ID (links the project to an actual clone-access connection; omit to leave the existing connection unchanged) | - | No |
242
353
  | `--json` | Output in JSON format | - | No |
243
354
  | `-y, --yes` | Skip prompts, use provided/existing values (for automation) | - | No |
355
+ | `--is-public-repo` | The repository is public: clone it without a git connection | - | No |
356
+ | `--no-is-public-repo` | Set is_public_repo to false | - | No |
357
+ | `--git-url <value>` | Clone URL of a public repository | - | No |
358
+ | `--preset-config <json>` | Preset-specific build settings as JSON, e.g. {"buildCommand":"bun run build"} (JSON) | - | No |
359
+ | `--pull-only-root-directory` | Clone only --directory instead of the whole repository | - | No |
360
+ | `--no-pull-only-root-directory` | Set pull_only_root_directory to false | - | No |
244
361
 
245
362
  ### `projects source`
246
363
 
@@ -315,6 +432,21 @@ Update deployment configuration (resources, replicas)
315
432
  | `--websocket-idle-timeout <seconds>` | Default idle timeout for WebSocket connections, in seconds | - | No |
316
433
  | `--json` | Output in JSON format | - | No |
317
434
  | `-y, --yes` | Skip prompts (for automation) | - | No |
435
+ | `--build-location <value>` | Where a source deployment's image is built (one of: control_plane, node, ci) | - | No |
436
+ | `--cross-architecture-builds` | Build one image per architecture the eligible nodes run | - | No |
437
+ | `--no-cross-architecture-builds` | Set crossArchitectureBuilds to false | - | No |
438
+ | `--cpu-request <n>` | CPU reserved per container, in microcores | - | No |
439
+ | `--memory-request <n>` | Memory reserved per container, in MB | - | No |
440
+ | `--exposed-port <n>` | Port the container listens on | - | No |
441
+ | `--health <json>` | Health check settings as JSON, e.g. {"path":"/healthz"} (JSON) | - | No |
442
+ | `--health-check-timeout-seconds <n>` | Seconds (30-3600) a new deployment's containers get to become ready | - | No |
443
+ | `--stop-timeout-seconds <n>` | Seconds (1-3600) the previous deployment gets to finish in-flight requests | - | No |
444
+ | `--load-balancing <json>` | Load balancing settings as JSON (JSON) | - | No |
445
+ | `--max-concurrent-connections <n>` | Default cap on concurrent requests to an environment's upstream (0 = unlimited) | - | No |
446
+ | `--performance-metrics-enabled` | Collect web performance metrics | - | No |
447
+ | `--no-performance-metrics-enabled` | Set performanceMetricsEnabled to false | - | No |
448
+ | `--session-recording-enabled` | Record visitor sessions | - | No |
449
+ | `--no-session-recording-enabled` | Set sessionRecordingEnabled to false | - | No |
318
450
 
319
451
  ### `projects delete` (alias: `rm`)
320
452
 
@@ -327,3 +459,318 @@ Delete a service
327
459
  | `-p, --project <project>` | Project slug or ID | - | No |
328
460
  | `-f, --force` | Skip confirmation | - | No |
329
461
  | `-y, --yes` | Skip confirmation (alias for --force) | - | No |
462
+
463
+ ### `projects create-from-template`
464
+
465
+ Create a new project from a template
466
+
467
+ **Options:**
468
+
469
+ | Flag | Description | Default | Required |
470
+ |------|-------------|---------|----------|
471
+ | `--automatic-deploy` | Enable automatic deployment on push (defaults to true) | - | No |
472
+ | `--no-automatic-deploy` | Set automatic_deploy to false | - | No |
473
+ | `--cloudflare-enabled` | Override the Cloudflare default for this new project | - | No |
474
+ | `--no-cloudflare-enabled` | Set cloudflare_enabled to false | - | No |
475
+ | `--command <value>` | Optional image entrypoint arguments (repeatable) | - | No |
476
+ | `--cpu-limit <n>` | CPU limit override in microcores | - | No |
477
+ | `--cpu-request <n>` | CPU request override in microcores (1_000_000 = one CPU core) | - | No |
478
+ | `--delivery-provider <value>` | Body field delivery_provider | - | No |
479
+ | `--environment-variables <json>` | Environment variables to set (key-value pairs) (JSON) | - | No |
480
+ | `--exposed-port <n>` | Public container port override | - | No |
481
+ | `--git-provider-connection-id <n>` | Git provider connection ID | - | No |
482
+ | `--health-check-path <value>` | Relative HTTP health-check path override | - | No |
483
+ | `--image <value>` | Optional prebuilt-image override | - | No |
484
+ | `--memory-limit <n>` | Memory limit override in MiB | - | No |
485
+ | `--memory-request <n>` | Memory request override in MiB | - | No |
486
+ | `--private` | Whether to make the repository private (defaults to true) | - | No |
487
+ | `--no-private` | Set private to false | - | No |
488
+ | `--project-name <value>` | Name for the new project [required] | - | No |
489
+ | `--repository-name <value>` | Name for the new repository to create | - | No |
490
+ | `--repository-owner <value>` | Owner/organization for the new repository (defaults to authenticated user) | - | No |
491
+ | `--storage-service-ids <n>` | External storage service IDs to attach to the project (repeatable) | - | No |
492
+ | `--template-slug <value>` | Template slug to use as the base [required] | - | No |
493
+ | `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
494
+ | `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
495
+ | `--json` | Output in JSON format | - | No |
496
+
497
+ ### `projects get-statistics`
498
+
499
+ Get project statistics
500
+
501
+ **Options:**
502
+
503
+ | Flag | Description | Default | Required |
504
+ |------|-------------|---------|----------|
505
+ | `--json` | Output in JSON format | - | No |
506
+
507
+ ### `projects get-compose-security`
508
+
509
+ Get compose security
510
+
511
+ **Usage:** `projects get-compose-security <id> [options]`
512
+
513
+ **Options:**
514
+
515
+ | Flag | Description | Default | Required |
516
+ |------|-------------|---------|----------|
517
+ | `--json` | Output in JSON format | - | No |
518
+
519
+ ### `projects update-compose-security`
520
+
521
+ Update compose security
522
+
523
+ **Usage:** `projects update-compose-security <id> [options]`
524
+
525
+ **Options:**
526
+
527
+ | Flag | Description | Default | Required |
528
+ |------|-------------|---------|----------|
529
+ | `--acknowledge-legacy-migration` | Body field acknowledge_legacy_migration | - | No |
530
+ | `--no-acknowledge-legacy-migration` | Set acknowledge_legacy_migration to false | - | No |
531
+ | `--acknowledge-risks` | Body field acknowledge_risks | - | No |
532
+ | `--no-acknowledge-risks` | Set acknowledge_risks to false | - | No |
533
+ | `--expected-policy <json>` | Policy read by the editor; compared while holding the project lock (JSON) [required] | - | No |
534
+ | `--policy <json>` | Body field policy (JSON) [required] | - | No |
535
+ | `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
536
+ | `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
537
+ | `--json` | Output in JSON format | - | No |
538
+
539
+ ### `projects update-automatic-deploy`
540
+
541
+ Update automatic deployment setting for a project
542
+
543
+ **Options:**
544
+
545
+ | Flag | Description | Default | Required |
546
+ |------|-------------|---------|----------|
547
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
548
+ | `--automatic-deploy` | Body field automatic_deploy [required] | - | No |
549
+ | `--no-automatic-deploy` | Set automatic_deploy to false | - | No |
550
+ | `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
551
+ | `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
552
+ | `--json` | Output in JSON format | - | No |
553
+
554
+ ### `projects get-resolved-environment-variables`
555
+
556
+ Resolved env vars for a project (manual + integration-sourced, merged)
557
+
558
+ **Options:**
559
+
560
+ | Flag | Description | Default | Required |
561
+ |------|-------------|---------|----------|
562
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
563
+ | `--environment-id <n>` | Optional environment ID to filter manual vars by | - | No |
564
+ | `--json` | Output in JSON format | - | No |
565
+
566
+ ### `projects get-resolved-environment-variable-value`
567
+
568
+ Reveal the plaintext value of a resolved environment variable
569
+
570
+ **Usage:** `projects get-resolved-environment-variable-value <key> [options]`
571
+
572
+ **Options:**
573
+
574
+ | Flag | Description | Default | Required |
575
+ |------|-------------|---------|----------|
576
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
577
+ | `--environment-id <n>` | Optional environment ID | - | No |
578
+ | `--var-id <n>` | Exact manual environment-variable row ID | - | No |
579
+ | `--service-id <n>` | Integration service ID shown by the resolved list | - | No |
580
+ | `--json` | Output in JSON format | - | No |
581
+
582
+ ### `projects get-environment-variable`
583
+
584
+ Get one environment variable of a project by its ID
585
+
586
+ **Usage:** `projects get-environment-variable <var-id> [options]`
587
+
588
+ **Options:**
589
+
590
+ | Flag | Description | Default | Required |
591
+ |------|-------------|---------|----------|
592
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
593
+ | `--json` | Output in JSON format | - | No |
594
+
595
+ ### `projects dismiss-environment-variable-secret-suggestion`
596
+
597
+ Dismiss the "store as secret" suggestion for a regular variable
598
+
599
+ **Usage:** `projects dismiss-environment-variable-secret-suggestion <var-id> [options]`
600
+
601
+ **Options:**
602
+
603
+ | Flag | Description | Default | Required |
604
+ |------|-------------|---------|----------|
605
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
606
+ | `-y, --yes` | Do not ask for confirmation | - | No |
607
+ | `--json` | Output in JSON format | - | No |
608
+
609
+ ### `projects get-environment`
610
+
611
+ Get a specific environment by ID or slug
612
+
613
+ **Usage:** `projects get-environment <env-id> [options]`
614
+
615
+ **Options:**
616
+
617
+ | Flag | Description | Default | Required |
618
+ |------|-------------|---------|----------|
619
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
620
+ | `--json` | Output in JSON format | - | No |
621
+
622
+ ### `projects get-environment-domains`
623
+
624
+ Get all environment domains for a specific environment
625
+
626
+ **Usage:** `projects get-environment-domains <env-id> [options]`
627
+
628
+ **Options:**
629
+
630
+ | Flag | Description | Default | Required |
631
+ |------|-------------|---------|----------|
632
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
633
+ | `--json` | Output in JSON format | - | No |
634
+
635
+ ### `projects add-environment-domain`
636
+
637
+ Add a new environment domain
638
+
639
+ **Usage:** `projects add-environment-domain <env-id> [options]`
640
+
641
+ **Options:**
642
+
643
+ | Flag | Description | Default | Required |
644
+ |------|-------------|---------|----------|
645
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
646
+ | `--domain <value>` | Body field domain [required] | - | No |
647
+ | `--is-primary` | Body field is_primary [required] | - | No |
648
+ | `--no-is-primary` | Set is_primary to false | - | No |
649
+ | `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
650
+ | `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
651
+ | `--json` | Output in JSON format | - | No |
652
+
653
+ ### `projects delete-environment-domain`
654
+
655
+ Delete an environment domain
656
+
657
+ **Usage:** `projects delete-environment-domain <env-id> <domain-id> [options]`
658
+
659
+ **Options:**
660
+
661
+ | Flag | Description | Default | Required |
662
+ |------|-------------|---------|----------|
663
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
664
+ | `-y, --yes` | Do not ask for confirmation | - | No |
665
+ | `--json` | Output in JSON format | - | No |
666
+
667
+ ### `projects update-environment-subdomain`
668
+
669
+ Rename the auto-managed subdomain for an environment
670
+
671
+ **Usage:** `projects update-environment-subdomain <env-id> [options]`
672
+
673
+ **Options:**
674
+
675
+ | Flag | Description | Default | Required |
676
+ |------|-------------|---------|----------|
677
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
678
+ | `--subdomain <value>` | New subdomain label [required] | - | No |
679
+ | `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
680
+ | `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
681
+ | `--json` | Output in JSON format | - | No |
682
+
683
+ ### `projects teardown-environment`
684
+
685
+ Teardown an environment and all its active deployments
686
+
687
+ **Usage:** `projects teardown-environment <env-id> [options]`
688
+
689
+ **Options:**
690
+
691
+ | Flag | Description | Default | Required |
692
+ |------|-------------|---------|----------|
693
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
694
+ | `-y, --yes` | Do not ask for confirmation | - | No |
695
+ | `--json` | Output in JSON format | - | No |
696
+
697
+ ### `projects reinstall-github-webhook`
698
+
699
+ Install or reinstall the GitHub repository webhook for a project
700
+
701
+ **Options:**
702
+
703
+ | Flag | Description | Default | Required |
704
+ |------|-------------|---------|----------|
705
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
706
+ | `--json` | Output in JSON format | - | No |
707
+
708
+ ### `projects reinstall-gitlab-webhook`
709
+
710
+ Reinstall the GitLab webhook for a project
711
+
712
+ **Options:**
713
+
714
+ | Flag | Description | Default | Required |
715
+ |------|-------------|---------|----------|
716
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
717
+ | `--json` | Output in JSON format | - | No |
718
+
719
+ ### `projects get-ingest-setup`
720
+
721
+ Get where this project's apps send telemetry
722
+
723
+ **Options:**
724
+
725
+ | Flag | Description | Default | Required |
726
+ |------|-------------|---------|----------|
727
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
728
+ | `--environment-id <n>` | Attribute telemetry to this environment of the project | - | No |
729
+ | `--json` | Output in JSON format | - | No |
730
+
731
+ ### `projects update-service-template-runtime`
732
+
733
+ Update service template runtime
734
+
735
+ **Options:**
736
+
737
+ | Flag | Description | Default | Required |
738
+ |------|-------------|---------|----------|
739
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
740
+ | `--command <value>` | Empty means use the image's own default command (repeatable) | - | No |
741
+ | `--cpu-limit <n>` | Body field cpuLimit | - | No |
742
+ | `--cpu-request <n>` | Body field cpuRequest | - | No |
743
+ | `--exposed-port <n>` | Body field exposedPort | - | No |
744
+ | `--health-check-path <value>` | Body field healthCheckPath [required] | - | No |
745
+ | `--image-ref <value>` | Body field imageRef [required] | - | No |
746
+ | `--memory-limit <n>` | Body field memoryLimit | - | No |
747
+ | `--memory-request <n>` | Body field memoryRequest | - | No |
748
+ | `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
749
+ | `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
750
+ | `--json` | Output in JSON format | - | No |
751
+
752
+ ### `projects get-service-template`
753
+
754
+ Return the immutable service-template release applied to a project together with catalog drift, missing..
755
+
756
+ **Options:**
757
+
758
+ | Flag | Description | Default | Required |
759
+ |------|-------------|---------|----------|
760
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
761
+ | `--json` | Output in JSON format | - | No |
762
+
763
+ ### `projects upgrade-service-template`
764
+
765
+ Upgrade project service template
766
+
767
+ **Options:**
768
+
769
+ | Flag | Description | Default | Required |
770
+ |------|-------------|---------|----------|
771
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
772
+ | `--environment-variables <json>` | Values for inputs introduced by the target release (JSON) | - | No |
773
+ | `--target-version <value>` | Optimistic target selected from the preview [required] | - | No |
774
+ | `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
775
+ | `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
776
+ | `--json` | Output in JSON format | - | No |