@temps-sdk/cli 0.1.37 → 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.
- package/README.md +14 -0
- package/dist/index.js +32148 -34152
- package/dist/skills/temps/SKILL.md +148 -0
- package/dist/skills/temps/agents/openai.yaml +7 -0
- package/dist/skills/temps/evals/evals.json +112 -0
- package/dist/skills/temps/howtos/backup-recovery.md +41 -0
- package/dist/skills/temps/howtos/ci-automation.md +17 -0
- package/dist/skills/temps/howtos/curated-services.md +69 -0
- package/dist/skills/temps/howtos/deploy-application.md +36 -0
- package/dist/skills/temps/howtos/diagnose-deployment.md +17 -0
- package/dist/skills/temps/howtos/edge-rules.md +135 -0
- package/dist/skills/temps/howtos/framework-routing.md +28 -0
- package/dist/skills/temps/howtos/javascript-typescript.md +57 -0
- package/dist/skills/temps/howtos/managed-services.md +83 -0
- package/dist/skills/temps/howtos/observability-onboarding.md +52 -0
- package/dist/skills/temps/howtos/projects-and-monorepos.md +50 -0
- package/dist/skills/temps/howtos/python.md +42 -0
- package/dist/skills/temps/howtos/rust.md +30 -0
- package/dist/skills/temps/references/cli-runtime.md +60 -0
- package/dist/skills/temps/references/commands/INDEX.md +102 -0
- package/dist/skills/temps/references/commands/access.md +53 -0
- package/dist/skills/temps/references/commands/ai.md +47 -0
- package/dist/skills/temps/references/commands/alarms.md +91 -0
- package/dist/skills/temps/references/commands/analytics.md +568 -0
- package/dist/skills/temps/references/commands/apikeys.md +98 -0
- package/dist/skills/temps/references/commands/audit.md +41 -0
- package/dist/skills/temps/references/commands/backups.md +269 -0
- package/dist/skills/temps/references/commands/cloud.md +385 -0
- package/dist/skills/temps/references/commands/cluster.md +31 -0
- package/dist/skills/temps/references/commands/configure.md +62 -0
- package/dist/skills/temps/references/commands/containers.md +110 -0
- package/dist/skills/temps/references/commands/context.md +55 -0
- package/dist/skills/temps/references/commands/custom-domains.md +98 -0
- package/dist/skills/temps/references/commands/data.md +87 -0
- package/dist/skills/temps/references/commands/delivery-profiles.md +69 -0
- package/dist/skills/temps/references/commands/delivery.md +116 -0
- package/dist/skills/temps/references/commands/deploy-image.md +23 -0
- package/dist/skills/temps/references/commands/deploy-local-image.md +28 -0
- package/dist/skills/temps/references/commands/deploy-static.md +23 -0
- package/dist/skills/temps/references/commands/deploy.md +23 -0
- package/dist/skills/temps/references/commands/deployments.md +173 -0
- package/dist/skills/temps/references/commands/dns-provider.md +196 -0
- package/dist/skills/temps/references/commands/dns.md +181 -0
- package/dist/skills/temps/references/commands/domains.md +188 -0
- package/dist/skills/temps/references/commands/drop.md +23 -0
- package/dist/skills/temps/references/commands/dsn.md +84 -0
- package/dist/skills/temps/references/commands/edge-rules.md +218 -0
- package/dist/skills/temps/references/commands/email-domains.md +160 -0
- package/dist/skills/temps/references/commands/email-providers.md +96 -0
- package/dist/skills/temps/references/commands/emails.md +79 -0
- package/dist/skills/temps/references/commands/env-pull.md +18 -0
- package/dist/skills/temps/references/commands/env-push.md +19 -0
- package/dist/skills/temps/references/commands/environments.md +500 -0
- package/dist/skills/temps/references/commands/errors.md +763 -0
- package/dist/skills/temps/references/commands/facets.md +63 -0
- package/dist/skills/temps/references/commands/flags.md +246 -0
- package/dist/skills/temps/references/commands/funnels.md +92 -0
- package/dist/skills/temps/references/commands/incidents.md +115 -0
- package/dist/skills/temps/references/commands/init.md +18 -0
- package/dist/skills/temps/references/commands/instances.md +62 -0
- package/dist/skills/temps/references/commands/instantiations.md +57 -0
- package/dist/skills/temps/references/commands/ip-access.md +153 -0
- package/dist/skills/temps/references/commands/link.md +17 -0
- package/dist/skills/temps/references/commands/load-balancer.md +73 -0
- package/dist/skills/temps/references/commands/login.md +22 -0
- package/dist/skills/temps/references/commands/logout.md +16 -0
- package/dist/skills/temps/references/commands/logs.md +290 -0
- package/dist/skills/temps/references/commands/mcp-servers.md +74 -0
- package/dist/skills/temps/references/commands/mcp.md +72 -0
- package/dist/skills/temps/references/commands/metrics.md +79 -0
- package/dist/skills/temps/references/commands/migrate.md +118 -0
- package/dist/skills/temps/references/commands/monitors.md +162 -0
- package/dist/skills/temps/references/commands/network-policy.md +120 -0
- package/dist/skills/temps/references/commands/nodes.md +254 -0
- package/dist/skills/temps/references/commands/notification-preferences.md +47 -0
- package/dist/skills/temps/references/commands/notifications.md +233 -0
- package/dist/skills/temps/references/commands/open.md +19 -0
- package/dist/skills/temps/references/commands/otel-forward.md +226 -0
- package/dist/skills/temps/references/commands/otel.md +38 -0
- package/dist/skills/temps/references/commands/platform.md +151 -0
- package/dist/skills/temps/references/commands/plugin.md +222 -0
- package/dist/skills/temps/references/commands/presets.md +37 -0
- package/dist/skills/temps/references/commands/project-groups.md +292 -0
- package/dist/skills/temps/references/commands/projects.md +329 -0
- package/dist/skills/temps/references/commands/providers.md +290 -0
- package/dist/skills/temps/references/commands/proxy-logs.md +85 -0
- package/dist/skills/temps/references/commands/revenue.md +52 -0
- package/dist/skills/temps/references/commands/rollback.md +20 -0
- package/dist/skills/temps/references/commands/runtime-logs.md +21 -0
- package/dist/skills/temps/references/commands/sandbox.md +518 -0
- package/dist/skills/temps/references/commands/scans.md +113 -0
- package/dist/skills/temps/references/commands/secrets.md +75 -0
- package/dist/skills/temps/references/commands/server.md +50 -0
- package/dist/skills/temps/references/commands/services.md +642 -0
- package/dist/skills/temps/references/commands/session-replay.md +84 -0
- package/dist/skills/temps/references/commands/settings.md +84 -0
- package/dist/skills/temps/references/commands/setup.md +25 -0
- package/dist/skills/temps/references/commands/skills.md +93 -0
- package/dist/skills/temps/references/commands/start.md +21 -0
- package/dist/skills/temps/references/commands/status-pages.md +455 -0
- package/dist/skills/temps/references/commands/status.md +19 -0
- package/dist/skills/temps/references/commands/stop.md +16 -0
- package/dist/skills/temps/references/commands/surveys.md +165 -0
- package/dist/skills/temps/references/commands/teams.md +143 -0
- package/dist/skills/temps/references/commands/templates.md +67 -0
- package/dist/skills/temps/references/commands/tokens.md +77 -0
- package/dist/skills/temps/references/commands/traces.md +100 -0
- package/dist/skills/temps/references/commands/traefik-discovery.md +123 -0
- package/dist/skills/temps/references/commands/tunnels.md +139 -0
- package/dist/skills/temps/references/commands/up.md +27 -0
- package/dist/skills/temps/references/commands/users.md +115 -0
- package/dist/skills/temps/references/commands/webhooks.md +171 -0
- package/dist/skills/temps/references/commands/whoami.md +15 -0
- package/dist/skills/temps/references/commands/workflow.md +44 -0
- package/dist/skills/temps/references/commands/workflows.md +216 -0
- package/dist/skills/temps/references/observability/analytics.md +146 -0
- package/dist/skills/temps/references/observability/error-tracking.md +73 -0
- package/dist/skills/temps/references/observability/hygiene.md +112 -0
- package/dist/skills/temps/references/observability/logs.md +43 -0
- package/dist/skills/temps/references/observability/metrics.md +41 -0
- package/dist/skills/temps/references/observability/tracing.md +392 -0
- package/dist/skills/temps/references/runtime-contract.md +115 -0
- package/dist/skills/temps/references/workflows/platform-operations.md +164 -0
- package/dist/skills/temps/scripts/detect_project_capabilities.py +239 -0
- package/dist/skills/temps/scripts/generate_command_references.py +144 -0
- package/dist/skills/temps/scripts/test_detect_project_capabilities.py +124 -0
- package/dist/skills/temps/scripts/test_generate_command_references.py +128 -0
- package/dist/skills/temps/scripts/test_validate_skill.py +43 -0
- package/dist/skills/temps/scripts/validate_skill.py +97 -0
- package/package.json +7 -2
|
@@ -0,0 +1,500 @@
|
|
|
1
|
+
<!-- Generated from skills/temps-cli/references/COMMANDS.md. Do not edit manually. -->
|
|
2
|
+
|
|
3
|
+
# `environments` command reference
|
|
4
|
+
|
|
5
|
+
Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing a command. Runtime `--help` is authoritative.
|
|
6
|
+
|
|
7
|
+
## Contents
|
|
8
|
+
|
|
9
|
+
- [`environments list`](#environments-list)
|
|
10
|
+
- [`environments create`](#environments-create)
|
|
11
|
+
- [`environments delete`](#environments-delete)
|
|
12
|
+
- [`environments vars`](#environments-vars)
|
|
13
|
+
- [`environments resources`](#environments-resources)
|
|
14
|
+
- [`environments timeouts`](#environments-timeouts)
|
|
15
|
+
- [`environments force-https`](#environments-force-https)
|
|
16
|
+
- [`environments scale`](#environments-scale)
|
|
17
|
+
- [`environments placement`](#environments-placement)
|
|
18
|
+
- [`environments isolation`](#environments-isolation)
|
|
19
|
+
- [`environments volumes`](#environments-volumes)
|
|
20
|
+
- [`environments ingress`](#environments-ingress)
|
|
21
|
+
- [`environments crons`](#environments-crons)
|
|
22
|
+
|
|
23
|
+
## `environments` (alias: `envs`, `env`)
|
|
24
|
+
|
|
25
|
+
Manage environments and environment variables
|
|
26
|
+
|
|
27
|
+
**Subcommands:**
|
|
28
|
+
|
|
29
|
+
- `list` (`ls`) - List environments for a project
|
|
30
|
+
- `create` - Create a new environment
|
|
31
|
+
- `delete` (`rm`) - Delete an environment
|
|
32
|
+
- `vars` - Manage environment variables
|
|
33
|
+
- `resources` - View or set CPU/memory resources for an environment
|
|
34
|
+
- `timeouts` - View or set upstream request/idle timeouts for an environment
|
|
35
|
+
- `force-https` - View or set the HTTP to HTTPS redirect override for an environment
|
|
36
|
+
- `scale` - View or set the number of replicas for an environment
|
|
37
|
+
- `placement` - Where the scheduler would run an environment's replicas, and why
|
|
38
|
+
- `isolation` - How an environment's replicas are isolated: a container (process) or a Firecracker microVM (micro_vm). Honoured only for environments whose deployments run on the workload plane
|
|
39
|
+
- `volumes` - Persistent volumes mounted into an environment's replicas; a replica that mounts one is pinned to its node
|
|
40
|
+
- `ingress` - Whether visitors must sign in to Temps to open an environment
|
|
41
|
+
- `crons` - Manage cron jobs
|
|
42
|
+
|
|
43
|
+
### `environments list` (alias: `ls`)
|
|
44
|
+
|
|
45
|
+
List environments for a project
|
|
46
|
+
|
|
47
|
+
**Options:**
|
|
48
|
+
|
|
49
|
+
| Flag | Description | Default | Required |
|
|
50
|
+
|------|-------------|---------|----------|
|
|
51
|
+
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
52
|
+
| `--json` | Output in JSON format | - | No |
|
|
53
|
+
|
|
54
|
+
### `environments create`
|
|
55
|
+
|
|
56
|
+
Create a new environment
|
|
57
|
+
|
|
58
|
+
**Options:**
|
|
59
|
+
|
|
60
|
+
| Flag | Description | Default | Required |
|
|
61
|
+
|------|-------------|---------|----------|
|
|
62
|
+
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
63
|
+
| `-n, --name <name>` | Environment name | - | No |
|
|
64
|
+
| `-b, --branch <branch>` | Git branch | - | No |
|
|
65
|
+
| `--preview` | Set as preview environment | - | No |
|
|
66
|
+
|
|
67
|
+
### `environments delete` (alias: `rm`)
|
|
68
|
+
|
|
69
|
+
Delete an environment
|
|
70
|
+
|
|
71
|
+
**Usage:** `environments delete <environment> [options]`
|
|
72
|
+
|
|
73
|
+
**Options:**
|
|
74
|
+
|
|
75
|
+
| Flag | Description | Default | Required |
|
|
76
|
+
|------|-------------|---------|----------|
|
|
77
|
+
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
78
|
+
| `-f, --force` | Skip confirmation | - | No |
|
|
79
|
+
|
|
80
|
+
### `environments vars`
|
|
81
|
+
|
|
82
|
+
Manage environment variables
|
|
83
|
+
|
|
84
|
+
**Options:**
|
|
85
|
+
|
|
86
|
+
| Flag | Description | Default | Required |
|
|
87
|
+
|------|-------------|---------|----------|
|
|
88
|
+
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
89
|
+
|
|
90
|
+
**Subcommands:**
|
|
91
|
+
|
|
92
|
+
- `list` (`ls`) - List environment variables
|
|
93
|
+
- `get` - Get a specific environment variable
|
|
94
|
+
- `set` - Set an environment variable. For a secret, read the value from a file or stdin (--value-file, --value-stdin) so it stays out of shell history and `ps`; the CLI never prints it
|
|
95
|
+
- `delete` (`rm`, `unset`) - Delete an environment variable
|
|
96
|
+
- `import` - Import environment variables from a .env file
|
|
97
|
+
- `export` - Export environment variables to .env format
|
|
98
|
+
|
|
99
|
+
#### `environments vars list` (alias: `ls`)
|
|
100
|
+
|
|
101
|
+
List environment variables
|
|
102
|
+
|
|
103
|
+
**Options:**
|
|
104
|
+
|
|
105
|
+
| Flag | Description | Default | Required |
|
|
106
|
+
|------|-------------|---------|----------|
|
|
107
|
+
| `-e, --environment <name>` | Filter by environment name | - | No |
|
|
108
|
+
| `--show-values` | Show actual values (hidden by default) | - | No |
|
|
109
|
+
| `--json` | Output in JSON format | - | No |
|
|
110
|
+
|
|
111
|
+
#### `environments vars get`
|
|
112
|
+
|
|
113
|
+
Get a specific environment variable
|
|
114
|
+
|
|
115
|
+
**Usage:** `environments vars get <key> [options]`
|
|
116
|
+
|
|
117
|
+
**Options:**
|
|
118
|
+
|
|
119
|
+
| Flag | Description | Default | Required |
|
|
120
|
+
|------|-------------|---------|----------|
|
|
121
|
+
| `-e, --environment <name>` | Specify environment (if variable exists in multiple) | - | No |
|
|
122
|
+
|
|
123
|
+
#### `environments vars set`
|
|
124
|
+
|
|
125
|
+
Set an environment variable. For a secret, read the value from a file or stdin (--value-file, --value-stdin) so it stays out of shell history and `ps`; the CLI never prints it
|
|
126
|
+
|
|
127
|
+
**Usage:** `environments vars set <key> [value] [options]`
|
|
128
|
+
|
|
129
|
+
**Options:**
|
|
130
|
+
|
|
131
|
+
| Flag | Description | Default | Required |
|
|
132
|
+
|------|-------------|---------|----------|
|
|
133
|
+
| `-e, --environments <names>` | Comma-separated environment names (interactive if not provided) | - | No |
|
|
134
|
+
| `--preview` | Also include in current and future preview environments | - | No |
|
|
135
|
+
| `--no-preview` | Exclude from preview environments | - | No |
|
|
136
|
+
| `--update` | Update existing variable instead of creating new | - | No |
|
|
137
|
+
| `--secret` | Store as a secret: the value is masked in the UI and never returned by the API. One-way — to make a secret readable again you must delete the variable and create it anew | - | No |
|
|
138
|
+
| `--value-file <path>` | Read the value from a file, byte-for-byte (- reads stdin). Keeps it out of shell history | - | No |
|
|
139
|
+
| `--value-stdin` | Read the value from stdin, e.g. piped from a secret manager | - | No |
|
|
140
|
+
| `--trim-trailing-newline` | Drop exactly one trailing newline (\n or \r\n) from a value read from a file or stdin (kept byte-for-byte by default) | - | No |
|
|
141
|
+
|
|
142
|
+
#### `environments vars delete` (alias: `rm`, `unset`)
|
|
143
|
+
|
|
144
|
+
Delete an environment variable
|
|
145
|
+
|
|
146
|
+
**Usage:** `environments vars delete <key> [options]`
|
|
147
|
+
|
|
148
|
+
**Options:**
|
|
149
|
+
|
|
150
|
+
| Flag | Description | Default | Required |
|
|
151
|
+
|------|-------------|---------|----------|
|
|
152
|
+
| `-e, --environment <name>` | Delete only from specific environment | - | No |
|
|
153
|
+
| `-f, --force` | Skip confirmation | - | No |
|
|
154
|
+
|
|
155
|
+
#### `environments vars import`
|
|
156
|
+
|
|
157
|
+
Import environment variables from a .env file
|
|
158
|
+
|
|
159
|
+
**Usage:** `environments vars import [file] [options]`
|
|
160
|
+
|
|
161
|
+
**Options:**
|
|
162
|
+
|
|
163
|
+
| Flag | Description | Default | Required |
|
|
164
|
+
|------|-------------|---------|----------|
|
|
165
|
+
| `-e, --environments <names>` | Comma-separated environment names | - | No |
|
|
166
|
+
| `--overwrite` | Overwrite existing variables | - | No |
|
|
167
|
+
|
|
168
|
+
#### `environments vars export`
|
|
169
|
+
|
|
170
|
+
Export environment variables to .env format
|
|
171
|
+
|
|
172
|
+
**Options:**
|
|
173
|
+
|
|
174
|
+
| Flag | Description | Default | Required |
|
|
175
|
+
|------|-------------|---------|----------|
|
|
176
|
+
| `-e, --environment <name>` | Export from specific environment | - | No |
|
|
177
|
+
| `-o, --output <file>` | Write to file instead of stdout | - | No |
|
|
178
|
+
|
|
179
|
+
### `environments resources`
|
|
180
|
+
|
|
181
|
+
View or set CPU/memory resources for an environment
|
|
182
|
+
|
|
183
|
+
**Usage:** `environments resources <environment> [options]`
|
|
184
|
+
|
|
185
|
+
**Options:**
|
|
186
|
+
|
|
187
|
+
| Flag | Description | Default | Required |
|
|
188
|
+
|------|-------------|---------|----------|
|
|
189
|
+
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
190
|
+
| `--cpu <millicores>` | CPU limit in millicores (1000 = 1 core, e.g., 500 = 0.5 CPU) | - | No |
|
|
191
|
+
| `--memory <mb>` | Memory limit in MB (e.g., 512) | - | No |
|
|
192
|
+
| `--cpu-request <millicores>` | CPU request in millicores (recorded; not currently enforced) | - | No |
|
|
193
|
+
| `--memory-request <mb>` | Memory request in MB (recorded; not currently enforced) | - | No |
|
|
194
|
+
| `--json` | Output in JSON format | - | No |
|
|
195
|
+
|
|
196
|
+
### `environments timeouts`
|
|
197
|
+
|
|
198
|
+
View or set upstream request/idle timeouts for an environment
|
|
199
|
+
|
|
200
|
+
**Usage:** `environments timeouts <environment> [options]`
|
|
201
|
+
|
|
202
|
+
**Options:**
|
|
203
|
+
|
|
204
|
+
| Flag | Description | Default | Required |
|
|
205
|
+
|------|-------------|---------|----------|
|
|
206
|
+
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
207
|
+
| `--request <seconds>` | Timeout for regular (non-streaming) HTTP requests, in seconds | - | No |
|
|
208
|
+
| `--sse-idle <seconds>` | Idle timeout for Server-Sent Events streams, in seconds | - | No |
|
|
209
|
+
| `--websocket-idle <seconds>` | Idle timeout for WebSocket connections, in seconds | - | No |
|
|
210
|
+
| `--inherit` | Clear all three overrides (inherit the project/global defaults) | - | No |
|
|
211
|
+
| `--json` | Output in JSON format | - | No |
|
|
212
|
+
|
|
213
|
+
### `environments force-https`
|
|
214
|
+
|
|
215
|
+
View or set the HTTP to HTTPS redirect override for an environment
|
|
216
|
+
|
|
217
|
+
**Usage:** `environments force-https <environment> [options]`
|
|
218
|
+
|
|
219
|
+
**Options:**
|
|
220
|
+
|
|
221
|
+
| Flag | Description | Default | Required |
|
|
222
|
+
|------|-------------|---------|----------|
|
|
223
|
+
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
224
|
+
| `--enable` | Always redirect plain HTTP to HTTPS, even without a local certificate | - | No |
|
|
225
|
+
| `--disable` | Never redirect: keep serving this environment over plain HTTP | - | No |
|
|
226
|
+
| `--inherit` | Clear the override and follow the proxy default | - | No |
|
|
227
|
+
| `--json` | Output in JSON format | - | No |
|
|
228
|
+
|
|
229
|
+
### `environments scale`
|
|
230
|
+
|
|
231
|
+
View or set the number of replicas for an environment
|
|
232
|
+
|
|
233
|
+
**Options:**
|
|
234
|
+
|
|
235
|
+
| Flag | Description | Default | Required |
|
|
236
|
+
|------|-------------|---------|----------|
|
|
237
|
+
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
238
|
+
| `-e, --environment <env>` | Environment name or slug | `production` | No |
|
|
239
|
+
| `-r, --replicas <count>` | Number of replicas to set | - | No |
|
|
240
|
+
| `--load-balancing <json>` | Replica routing policy as JSON; null restores project inheritance | - | No |
|
|
241
|
+
| `--json` | Output in JSON format | - | No |
|
|
242
|
+
|
|
243
|
+
### `environments placement`
|
|
244
|
+
|
|
245
|
+
Where the scheduler would run an environment's replicas, and why
|
|
246
|
+
|
|
247
|
+
**Subcommands:**
|
|
248
|
+
|
|
249
|
+
- `explain` - Show the nodes each replica would run on now, the eligible nodes ranked, and the ones excluded with the reason
|
|
250
|
+
- `recommend` - Recommend target nodes from where the environment actually ran (recommended, never applied)
|
|
251
|
+
|
|
252
|
+
#### `environments placement explain`
|
|
253
|
+
|
|
254
|
+
Show the nodes each replica would run on now, the eligible nodes ranked, and the ones excluded with the reason
|
|
255
|
+
|
|
256
|
+
**Usage:** `environments placement explain <environment> [options]`
|
|
257
|
+
|
|
258
|
+
**Options:**
|
|
259
|
+
|
|
260
|
+
| Flag | Description | Default | Required |
|
|
261
|
+
|------|-------------|---------|----------|
|
|
262
|
+
| `-p, --project <project>` | Project slug | - | No |
|
|
263
|
+
| `--json` | Output in JSON format | - | No |
|
|
264
|
+
|
|
265
|
+
#### `environments placement recommend`
|
|
266
|
+
|
|
267
|
+
Recommend target nodes from where the environment actually ran (recommended, never applied)
|
|
268
|
+
|
|
269
|
+
**Usage:** `environments placement recommend <environment> [options]`
|
|
270
|
+
|
|
271
|
+
**Options:**
|
|
272
|
+
|
|
273
|
+
| Flag | Description | Default | Required |
|
|
274
|
+
|------|-------------|---------|----------|
|
|
275
|
+
| `-p, --project <project>` | Project slug | - | No |
|
|
276
|
+
| `--window-days <days>` | How many days of history to consider (1-90, default 7) | - | No |
|
|
277
|
+
| `--json` | Output in JSON format | - | No |
|
|
278
|
+
|
|
279
|
+
### `environments isolation`
|
|
280
|
+
|
|
281
|
+
How an environment's replicas are isolated: a container (process) or a Firecracker microVM (micro_vm). Honoured only for environments whose deployments run on the workload plane
|
|
282
|
+
|
|
283
|
+
**Subcommands:**
|
|
284
|
+
|
|
285
|
+
- `show` - Show the isolation and whether it takes effect
|
|
286
|
+
- `set` - Set the isolation: process or micro_vm (a microVM replica only runs on a node that provides one)
|
|
287
|
+
|
|
288
|
+
#### `environments isolation show`
|
|
289
|
+
|
|
290
|
+
Show the isolation and whether it takes effect
|
|
291
|
+
|
|
292
|
+
**Usage:** `environments isolation show <environment> [options]`
|
|
293
|
+
|
|
294
|
+
**Options:**
|
|
295
|
+
|
|
296
|
+
| Flag | Description | Default | Required |
|
|
297
|
+
|------|-------------|---------|----------|
|
|
298
|
+
| `-p, --project <project>` | Project slug | - | No |
|
|
299
|
+
| `--json` | Output in JSON format | - | No |
|
|
300
|
+
|
|
301
|
+
#### `environments isolation set`
|
|
302
|
+
|
|
303
|
+
Set the isolation: process or micro_vm (a microVM replica only runs on a node that provides one)
|
|
304
|
+
|
|
305
|
+
**Usage:** `environments isolation set <environment> <isolation> [options]`
|
|
306
|
+
|
|
307
|
+
**Options:**
|
|
308
|
+
|
|
309
|
+
| Flag | Description | Default | Required |
|
|
310
|
+
|------|-------------|---------|----------|
|
|
311
|
+
| `-p, --project <project>` | Project slug | - | No |
|
|
312
|
+
| `--json` | Output in JSON format | - | No |
|
|
313
|
+
|
|
314
|
+
### `environments volumes`
|
|
315
|
+
|
|
316
|
+
Persistent volumes mounted into an environment's replicas; a replica that mounts one is pinned to its node
|
|
317
|
+
|
|
318
|
+
**Subcommands:**
|
|
319
|
+
|
|
320
|
+
- `list` (`ls`) - List the environment's volumes, newest first
|
|
321
|
+
- `create` - Create a volume (attach it to mount it)
|
|
322
|
+
- `status` - Show whether the next deploy mounts the attached volumes, and what to fix if not
|
|
323
|
+
- `attach` - Mount a volume (id or name) into every replica at --mount-path
|
|
324
|
+
- `detach` - Stop mounting a volume (id or name); its data is kept
|
|
325
|
+
- `rm` (`delete`) - Delete a volume (id or name), and its data unless it was created with --retain
|
|
326
|
+
|
|
327
|
+
#### `environments volumes list` (alias: `ls`)
|
|
328
|
+
|
|
329
|
+
List the environment's volumes, newest first
|
|
330
|
+
|
|
331
|
+
**Usage:** `environments volumes list <environment> [options]`
|
|
332
|
+
|
|
333
|
+
**Options:**
|
|
334
|
+
|
|
335
|
+
| Flag | Description | Default | Required |
|
|
336
|
+
|------|-------------|---------|----------|
|
|
337
|
+
| `-p, --project <project>` | Project slug | - | No |
|
|
338
|
+
| `--page <page>` | Page number (default 1) | - | No |
|
|
339
|
+
| `--page-size <size>` | Results per page (default 20, max 100) | - | No |
|
|
340
|
+
| `--json` | Output in JSON format | - | No |
|
|
341
|
+
|
|
342
|
+
#### `environments volumes create`
|
|
343
|
+
|
|
344
|
+
Create a volume (attach it to mount it)
|
|
345
|
+
|
|
346
|
+
**Usage:** `environments volumes create <environment> [options]`
|
|
347
|
+
|
|
348
|
+
**Options:**
|
|
349
|
+
|
|
350
|
+
| Flag | Description | Default | Required |
|
|
351
|
+
|------|-------------|---------|----------|
|
|
352
|
+
| `-p, --project <project>` | Project slug | - | No |
|
|
353
|
+
| `-n, --name <name>` | Volume name: 2-64 characters of a-z, 0-9, "_", "." or "-" | - | Yes |
|
|
354
|
+
| `--size-mb <mb>` | Size in MB, when the backend supports a size | - | No |
|
|
355
|
+
| `--retain` | Keep the data when the volume is deleted | - | No |
|
|
356
|
+
| `--json` | Output in JSON format | - | No |
|
|
357
|
+
|
|
358
|
+
#### `environments volumes status`
|
|
359
|
+
|
|
360
|
+
Show whether the next deploy mounts the attached volumes, and what to fix if not
|
|
361
|
+
|
|
362
|
+
**Usage:** `environments volumes status <environment> [options]`
|
|
363
|
+
|
|
364
|
+
**Options:**
|
|
365
|
+
|
|
366
|
+
| Flag | Description | Default | Required |
|
|
367
|
+
|------|-------------|---------|----------|
|
|
368
|
+
| `-p, --project <project>` | Project slug | - | No |
|
|
369
|
+
| `--json` | Output in JSON format | - | No |
|
|
370
|
+
|
|
371
|
+
#### `environments volumes attach`
|
|
372
|
+
|
|
373
|
+
Mount a volume (id or name) into every replica at --mount-path
|
|
374
|
+
|
|
375
|
+
**Usage:** `environments volumes attach <environment> <volume> [options]`
|
|
376
|
+
|
|
377
|
+
**Options:**
|
|
378
|
+
|
|
379
|
+
| Flag | Description | Default | Required |
|
|
380
|
+
|------|-------------|---------|----------|
|
|
381
|
+
| `-p, --project <project>` | Project slug | - | No |
|
|
382
|
+
| `--mount-path <path>` | Absolute path inside each replica | - | Yes |
|
|
383
|
+
| `--read-only` | Mount it read-only | - | No |
|
|
384
|
+
| `--json` | Output in JSON format | - | No |
|
|
385
|
+
|
|
386
|
+
#### `environments volumes detach`
|
|
387
|
+
|
|
388
|
+
Stop mounting a volume (id or name); its data is kept
|
|
389
|
+
|
|
390
|
+
**Usage:** `environments volumes detach <environment> <volume> [options]`
|
|
391
|
+
|
|
392
|
+
**Options:**
|
|
393
|
+
|
|
394
|
+
| Flag | Description | Default | Required |
|
|
395
|
+
|------|-------------|---------|----------|
|
|
396
|
+
| `-p, --project <project>` | Project slug | - | No |
|
|
397
|
+
| `--json` | Output in JSON format | - | No |
|
|
398
|
+
|
|
399
|
+
#### `environments volumes rm` (alias: `delete`)
|
|
400
|
+
|
|
401
|
+
Delete a volume (id or name), and its data unless it was created with --retain
|
|
402
|
+
|
|
403
|
+
**Usage:** `environments volumes rm <environment> <volume> [options]`
|
|
404
|
+
|
|
405
|
+
**Options:**
|
|
406
|
+
|
|
407
|
+
| Flag | Description | Default | Required |
|
|
408
|
+
|------|-------------|---------|----------|
|
|
409
|
+
| `-p, --project <project>` | Project slug | - | No |
|
|
410
|
+
| `-f, --force` | Skip confirmation | - | No |
|
|
411
|
+
| `-y, --yes` | Skip confirmation (alias for --force) | - | No |
|
|
412
|
+
| `--json` | Output in JSON format | - | No |
|
|
413
|
+
|
|
414
|
+
### `environments ingress`
|
|
415
|
+
|
|
416
|
+
Whether visitors must sign in to Temps to open an environment
|
|
417
|
+
|
|
418
|
+
**Subcommands:**
|
|
419
|
+
|
|
420
|
+
- `show` - Show the login requirement and whether the proxy enforces it now
|
|
421
|
+
- `set` - Require visitors to sign in to Temps, or stop requiring it
|
|
422
|
+
|
|
423
|
+
#### `environments ingress show`
|
|
424
|
+
|
|
425
|
+
Show the login requirement and whether the proxy enforces it now
|
|
426
|
+
|
|
427
|
+
**Usage:** `environments ingress show <environment> [options]`
|
|
428
|
+
|
|
429
|
+
**Options:**
|
|
430
|
+
|
|
431
|
+
| Flag | Description | Default | Required |
|
|
432
|
+
|------|-------------|---------|----------|
|
|
433
|
+
| `-p, --project <project>` | Project slug | - | No |
|
|
434
|
+
| `--json` | Output in JSON format | - | No |
|
|
435
|
+
|
|
436
|
+
#### `environments ingress set`
|
|
437
|
+
|
|
438
|
+
Require visitors to sign in to Temps, or stop requiring it
|
|
439
|
+
|
|
440
|
+
**Usage:** `environments ingress set <environment> [options]`
|
|
441
|
+
|
|
442
|
+
**Options:**
|
|
443
|
+
|
|
444
|
+
| Flag | Description | Default | Required |
|
|
445
|
+
|------|-------------|---------|----------|
|
|
446
|
+
| `-p, --project <project>` | Project slug | - | No |
|
|
447
|
+
| `--require-login` | Require sign-in only when ingress mode is enforce. Check login_enforced in JSON output or Enforced now in text output | - | No |
|
|
448
|
+
| `--no-require-login` | Visitors do not need to sign in | - | No |
|
|
449
|
+
| `--json` | Output in JSON format | - | No |
|
|
450
|
+
|
|
451
|
+
### `environments crons`
|
|
452
|
+
|
|
453
|
+
Manage cron jobs
|
|
454
|
+
|
|
455
|
+
**Options:**
|
|
456
|
+
|
|
457
|
+
| Flag | Description | Default | Required |
|
|
458
|
+
|------|-------------|---------|----------|
|
|
459
|
+
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
460
|
+
| `-e, --environment <env>` | Environment name or slug | - | Yes |
|
|
461
|
+
|
|
462
|
+
**Subcommands:**
|
|
463
|
+
|
|
464
|
+
- `list` (`ls`) - List cron jobs for an environment
|
|
465
|
+
- `show` - Show cron job details
|
|
466
|
+
- `executions` (`execs`) - Show cron job execution history
|
|
467
|
+
|
|
468
|
+
#### `environments crons list` (alias: `ls`)
|
|
469
|
+
|
|
470
|
+
List cron jobs for an environment
|
|
471
|
+
|
|
472
|
+
**Options:**
|
|
473
|
+
|
|
474
|
+
| Flag | Description | Default | Required |
|
|
475
|
+
|------|-------------|---------|----------|
|
|
476
|
+
| `--json` | Output in JSON format | - | No |
|
|
477
|
+
|
|
478
|
+
#### `environments crons show`
|
|
479
|
+
|
|
480
|
+
Show cron job details
|
|
481
|
+
|
|
482
|
+
**Options:**
|
|
483
|
+
|
|
484
|
+
| Flag | Description | Default | Required |
|
|
485
|
+
|------|-------------|---------|----------|
|
|
486
|
+
| `--id <id>` | Cron job ID | - | Yes |
|
|
487
|
+
| `--json` | Output in JSON format | - | No |
|
|
488
|
+
|
|
489
|
+
#### `environments crons executions` (alias: `execs`)
|
|
490
|
+
|
|
491
|
+
Show cron job execution history
|
|
492
|
+
|
|
493
|
+
**Options:**
|
|
494
|
+
|
|
495
|
+
| Flag | Description | Default | Required |
|
|
496
|
+
|------|-------------|---------|----------|
|
|
497
|
+
| `--id <id>` | Cron job ID | - | Yes |
|
|
498
|
+
| `--page <page>` | Page number | `1` | No |
|
|
499
|
+
| `--per-page <count>` | Items per page | `20` | No |
|
|
500
|
+
| `--json` | Output in JSON format | - | No |
|