@temps-sdk/cli 0.1.38 → 0.2.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -0
- package/dist/index.js +63877 -40097
- package/dist/skills/temps/SKILL.md +18 -9
- package/dist/skills/temps/evals/evals.json +23 -6
- package/dist/skills/temps/howtos/agent-handoff.md +106 -0
- package/dist/skills/temps/howtos/ci-automation.md +2 -3
- package/dist/skills/temps/howtos/curated-services.md +69 -0
- package/dist/skills/temps/howtos/deploy-application.md +8 -1
- package/dist/skills/temps/howtos/edge-rules.md +135 -0
- package/dist/skills/temps/howtos/managed-services.md +4 -4
- package/dist/skills/temps/howtos/projects-and-monorepos.md +2 -1
- package/dist/skills/temps/references/cli-runtime.md +10 -18
- package/dist/skills/temps/references/commands/INDEX.md +11 -0
- package/dist/skills/temps/references/commands/access.md +4 -0
- package/dist/skills/temps/references/commands/agents.md +731 -0
- package/dist/skills/temps/references/commands/ai.md +2638 -9
- package/dist/skills/temps/references/commands/alarms.md +129 -0
- package/dist/skills/temps/references/commands/analytics.md +1199 -2
- package/dist/skills/temps/references/commands/apikeys.md +50 -1
- package/dist/skills/temps/references/commands/audit.md +1 -0
- package/dist/skills/temps/references/commands/backups.md +312 -0
- package/dist/skills/temps/references/commands/blob.md +169 -0
- package/dist/skills/temps/references/commands/cloud.md +73 -0
- package/dist/skills/temps/references/commands/cluster.md +223 -0
- package/dist/skills/temps/references/commands/configure.md +7 -0
- package/dist/skills/temps/references/commands/containers.md +45 -0
- package/dist/skills/temps/references/commands/context.md +6 -0
- package/dist/skills/temps/references/commands/custom-domains.md +32 -0
- package/dist/skills/temps/references/commands/data.md +11 -13
- package/dist/skills/temps/references/commands/deploy-image.md +3 -1
- package/dist/skills/temps/references/commands/deploy-local-image.md +3 -0
- package/dist/skills/temps/references/commands/deploy.md +2 -0
- package/dist/skills/temps/references/commands/deployments.md +560 -0
- package/dist/skills/temps/references/commands/dns-provider.md +63 -0
- package/dist/skills/temps/references/commands/domains.md +105 -0
- package/dist/skills/temps/references/commands/drop.md +2 -0
- package/dist/skills/temps/references/commands/edge-rules.md +218 -0
- package/dist/skills/temps/references/commands/email-domains.md +1 -0
- package/dist/skills/temps/references/commands/email-providers.md +64 -1
- package/dist/skills/temps/references/commands/emails.md +91 -0
- package/dist/skills/temps/references/commands/env-pull.md +2 -0
- package/dist/skills/temps/references/commands/env-push.md +2 -0
- package/dist/skills/temps/references/commands/environments.md +695 -2
- package/dist/skills/temps/references/commands/errors.md +1134 -61
- package/dist/skills/temps/references/commands/facets.md +6 -0
- package/dist/skills/temps/references/commands/flags.md +179 -0
- package/dist/skills/temps/references/commands/funnels.md +22 -2
- package/dist/skills/temps/references/commands/incidents.md +22 -0
- package/dist/skills/temps/references/commands/init.md +2 -0
- package/dist/skills/temps/references/commands/instances.md +6 -0
- package/dist/skills/temps/references/commands/instantiations.md +4 -0
- package/dist/skills/temps/references/commands/ip-access.md +96 -1
- package/dist/skills/temps/references/commands/kv.md +184 -0
- package/dist/skills/temps/references/commands/link.md +2 -0
- package/dist/skills/temps/references/commands/load-balancer.md +2 -0
- package/dist/skills/temps/references/commands/login.md +9 -1
- package/dist/skills/temps/references/commands/logs.md +405 -10
- package/dist/skills/temps/references/commands/mcp-servers.md +4 -0
- package/dist/skills/temps/references/commands/mcp.md +8 -1
- package/dist/skills/temps/references/commands/migrate.md +26 -0
- package/dist/skills/temps/references/commands/monitors.md +456 -0
- package/dist/skills/temps/references/commands/network-policy.md +147 -0
- package/dist/skills/temps/references/commands/nodes.md +209 -2
- package/dist/skills/temps/references/commands/notifications.md +173 -2
- package/dist/skills/temps/references/commands/open.md +2 -0
- package/dist/skills/temps/references/commands/otel-forward.md +16 -0
- package/dist/skills/temps/references/commands/otel.md +436 -0
- package/dist/skills/temps/references/commands/platform.md +57 -0
- package/dist/skills/temps/references/commands/plugin.md +106 -1
- package/dist/skills/temps/references/commands/presets.md +2 -0
- package/dist/skills/temps/references/commands/preview-gateway.md +91 -0
- package/dist/skills/temps/references/commands/project-groups.md +72 -4
- package/dist/skills/temps/references/commands/projects.md +509 -4
- package/dist/skills/temps/references/commands/providers.md +533 -1
- package/dist/skills/temps/references/commands/proxy-logs.md +111 -0
- package/dist/skills/temps/references/commands/revenue.md +223 -0
- package/dist/skills/temps/references/commands/rollback.md +2 -0
- package/dist/skills/temps/references/commands/sandbox.md +790 -10
- package/dist/skills/temps/references/commands/secrets.md +19 -6
- package/dist/skills/temps/references/commands/server.md +107 -0
- package/dist/skills/temps/references/commands/services.md +836 -5
- package/dist/skills/temps/references/commands/session-replay.md +8 -0
- package/dist/skills/temps/references/commands/settings.md +346 -0
- package/dist/skills/temps/references/commands/shield.md +354 -0
- package/dist/skills/temps/references/commands/skills.md +6 -0
- package/dist/skills/temps/references/commands/start.md +1 -0
- package/dist/skills/temps/references/commands/status-pages.md +376 -9
- package/dist/skills/temps/references/commands/status.md +2 -0
- package/dist/skills/temps/references/commands/surveys.md +165 -0
- package/dist/skills/temps/references/commands/teams.md +28 -0
- package/dist/skills/temps/references/commands/templates.md +22 -2
- package/dist/skills/temps/references/commands/tokens.md +106 -0
- package/dist/skills/temps/references/commands/traces.md +207 -0
- package/dist/skills/temps/references/commands/traefik-discovery.md +10 -0
- package/dist/skills/temps/references/commands/tunnels.md +141 -0
- package/dist/skills/temps/references/commands/up.md +2 -0
- package/dist/skills/temps/references/commands/users.md +127 -0
- package/dist/skills/temps/references/commands/vault.md +662 -0
- package/dist/skills/temps/references/commands/webhooks.md +10 -0
- package/dist/skills/temps/references/commands/workflow.md +2 -0
- package/dist/skills/temps/references/commands/workflows.md +563 -0
- package/dist/skills/temps/references/observability/analytics.md +2 -2
- package/dist/skills/temps/references/workflows/platform-operations.md +46 -36
- package/dist/skills/temps/scripts/generate_command_references.py +5 -3
- package/dist/skills/temps/scripts/test_generate_command_references.py +3 -1
- package/dist/skills/temps/scripts/test_validate_skill.py +25 -66
- package/dist/skills/temps/scripts/validate_skill.py +29 -43
- package/package.json +9 -3
- package/dist/skills/temps/scripts/__pycache__/generate_command_references.cpython-314.pyc +0 -0
- package/dist/skills/temps/scripts/__pycache__/test_generate_command_references.cpython-314.pyc +0 -0
- package/dist/skills/temps/scripts/__pycache__/test_validate_skill.cpython-314.pyc +0 -0
- package/dist/skills/temps/scripts/__pycache__/validate_skill.cpython-314.pyc +0 -0
|
@@ -17,6 +17,10 @@ Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing
|
|
|
17
17
|
- [`cloud billing`](#cloud-billing)
|
|
18
18
|
- [`cloud console-access`](#cloud-console-access)
|
|
19
19
|
- [`cloud telemetry`](#cloud-telemetry)
|
|
20
|
+
- [`cloud get-ai-capability`](#cloud-get-ai-capability)
|
|
21
|
+
- [`cloud reconcile-backup-source`](#cloud-reconcile-backup-source)
|
|
22
|
+
- [`cloud features`](#cloud-features)
|
|
23
|
+
- [`cloud get-capability`](#cloud-get-capability)
|
|
20
24
|
|
|
21
25
|
## `cloud`
|
|
22
26
|
|
|
@@ -35,6 +39,10 @@ Temps Cloud
|
|
|
35
39
|
- `billing` - Manage Temps Cloud billing and subscription
|
|
36
40
|
- `console-access` - Console access through Temps Cloud (ADR-045) -- Cloud members with the owner/admin role can open this console with no inbound port
|
|
37
41
|
- `telemetry` - Where a project’s spans are written — this instance, or Temps Cloud (ADR-041)
|
|
42
|
+
- `get-ai-capability` - Get cloud ai capability
|
|
43
|
+
- `reconcile-backup-source` - Reconcile cloud backup source
|
|
44
|
+
- `features` - Turn the Temps Cloud features this instance uses on or off; omitted ones keep their setting
|
|
45
|
+
- `get-capability` - Get cloud capability
|
|
38
46
|
|
|
39
47
|
### `cloud login`
|
|
40
48
|
|
|
@@ -140,6 +148,8 @@ Provision a new VPS instance
|
|
|
140
148
|
|
|
141
149
|
Show VPS instance details and provisioning logs
|
|
142
150
|
|
|
151
|
+
**Usage:** `cloud vps show <id> [options]`
|
|
152
|
+
|
|
143
153
|
**Options:**
|
|
144
154
|
|
|
145
155
|
| Flag | Description | Default | Required |
|
|
@@ -150,14 +160,20 @@ Show VPS instance details and provisioning logs
|
|
|
150
160
|
|
|
151
161
|
Destroy a VPS instance
|
|
152
162
|
|
|
163
|
+
**Usage:** `cloud vps destroy <id>`
|
|
164
|
+
|
|
153
165
|
#### `cloud vps retry`
|
|
154
166
|
|
|
155
167
|
Retry failed VPS provisioning
|
|
156
168
|
|
|
169
|
+
**Usage:** `cloud vps retry <id>`
|
|
170
|
+
|
|
157
171
|
#### `cloud vps credentials`
|
|
158
172
|
|
|
159
173
|
Show VPS panel credentials
|
|
160
174
|
|
|
175
|
+
**Usage:** `cloud vps credentials <id> [options]`
|
|
176
|
+
|
|
161
177
|
**Options:**
|
|
162
178
|
|
|
163
179
|
| Flag | Description | Default | Required |
|
|
@@ -312,12 +328,15 @@ Show where a project’s spans are written, what is queued, and any gaps
|
|
|
312
328
|
|
|
313
329
|
Set the write mode to "local" (stored on this instance) or "cloud" (written to Temps Cloud, not stored here)
|
|
314
330
|
|
|
331
|
+
**Usage:** `cloud telemetry write-mode set <mode> [options]`
|
|
332
|
+
|
|
315
333
|
**Options:**
|
|
316
334
|
|
|
317
335
|
| Flag | Description | Default | Required |
|
|
318
336
|
|------|-------------|---------|----------|
|
|
319
337
|
| `-p, --project <slug>` | Project slug | - | No |
|
|
320
338
|
| `--fidelity <tier>` | Also set Cloud telemetry fidelity: metered or queryable. "cloud" requires "queryable". | - | No |
|
|
339
|
+
| `--analytics <mode>` | Also set where analytics and metrics are written: local or cloud | - | No |
|
|
321
340
|
| `-f, --force` | Skip confirmation | - | No |
|
|
322
341
|
| `-y, --yes` | Skip confirmation prompts (alias for --force) | - | No |
|
|
323
342
|
| `--json` | Output in JSON format | - | No |
|
|
@@ -352,6 +371,8 @@ Switch many projects to Temps Cloud and ship their history in one job — estima
|
|
|
352
371
|
|
|
353
372
|
Show the Temps Cloud activation running on this instance — progress, ETA, skips and failures
|
|
354
373
|
|
|
374
|
+
**Usage:** `cloud telemetry bulk-status [batch_id] [options]`
|
|
375
|
+
|
|
355
376
|
**Options:**
|
|
356
377
|
|
|
357
378
|
| Flag | Description | Default | Required |
|
|
@@ -363,9 +384,61 @@ Show the Temps Cloud activation running on this instance — progress, ETA, skip
|
|
|
363
384
|
|
|
364
385
|
Stop a Temps Cloud activation at its next chunk boundary
|
|
365
386
|
|
|
387
|
+
**Usage:** `cloud telemetry bulk-cancel <batch_id> [options]`
|
|
388
|
+
|
|
366
389
|
**Options:**
|
|
367
390
|
|
|
368
391
|
| Flag | Description | Default | Required |
|
|
369
392
|
|------|-------------|---------|----------|
|
|
370
393
|
| `-y, --yes` | Skip confirmation | - | No |
|
|
371
394
|
| `--json` | Output in JSON format | - | No |
|
|
395
|
+
|
|
396
|
+
### `cloud get-ai-capability`
|
|
397
|
+
|
|
398
|
+
Get cloud ai capability
|
|
399
|
+
|
|
400
|
+
**Options:**
|
|
401
|
+
|
|
402
|
+
| Flag | Description | Default | Required |
|
|
403
|
+
|------|-------------|---------|----------|
|
|
404
|
+
| `--json` | Output in JSON format | - | No |
|
|
405
|
+
|
|
406
|
+
### `cloud reconcile-backup-source`
|
|
407
|
+
|
|
408
|
+
Reconcile cloud backup source
|
|
409
|
+
|
|
410
|
+
**Options:**
|
|
411
|
+
|
|
412
|
+
| Flag | Description | Default | Required |
|
|
413
|
+
|------|-------------|---------|----------|
|
|
414
|
+
| `--json` | Output in JSON format | - | No |
|
|
415
|
+
|
|
416
|
+
### `cloud features`
|
|
417
|
+
|
|
418
|
+
Turn the Temps Cloud features this instance uses on or off; omitted ones keep their setting
|
|
419
|
+
|
|
420
|
+
**Options:**
|
|
421
|
+
|
|
422
|
+
| Flag | Description | Default | Required |
|
|
423
|
+
|------|-------------|---------|----------|
|
|
424
|
+
| `--backups-enabled` | Off-site backups through Temps Cloud | - | No |
|
|
425
|
+
| `--no-backups-enabled` | Set backups_enabled to false | - | No |
|
|
426
|
+
| `--console-access-enabled` | Let Temps Cloud open this console (see `temps cloud console-access`) | - | No |
|
|
427
|
+
| `--no-console-access-enabled` | Set console_access_enabled to false | - | No |
|
|
428
|
+
| `--notifications-enabled` | Notifications delivered through Temps Cloud | - | No |
|
|
429
|
+
| `--no-notifications-enabled` | Set notifications_enabled to false | - | No |
|
|
430
|
+
| `--telemetry-enabled` | Cloud telemetry for spans, analytics and metrics | - | No |
|
|
431
|
+
| `--no-telemetry-enabled` | Set telemetry_enabled to false | - | No |
|
|
432
|
+
| `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
|
|
433
|
+
| `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
|
|
434
|
+
| `--json` | Output in JSON format | - | No |
|
|
435
|
+
|
|
436
|
+
### `cloud get-capability`
|
|
437
|
+
|
|
438
|
+
Get cloud capability
|
|
439
|
+
|
|
440
|
+
**Options:**
|
|
441
|
+
|
|
442
|
+
| Flag | Description | Default | Required |
|
|
443
|
+
|------|-------------|---------|----------|
|
|
444
|
+
| `--json` | Output in JSON format | - | No |
|
|
@@ -11,6 +11,10 @@ Cluster-wide multi-node operations
|
|
|
11
11
|
**Subcommands:**
|
|
12
12
|
|
|
13
13
|
- `dns` - Cluster DNS resolver (ADR-024) operations
|
|
14
|
+
- `network` - The compute network workloads get their addresses from
|
|
15
|
+
- `join-token` - The shared token worker nodes join with
|
|
16
|
+
- `enrollment-tokens` - Short-lived, single-use tokens a new node enrolls with
|
|
17
|
+
- `rotate-ca` - Replace a compromised cluster CA: every node re-enrolls and outstanding enrollment tokens are revoked
|
|
14
18
|
|
|
15
19
|
### `cluster dns`
|
|
16
20
|
|
|
@@ -19,6 +23,11 @@ Cluster DNS resolver (ADR-024) operations
|
|
|
19
23
|
**Subcommands:**
|
|
20
24
|
|
|
21
25
|
- `status` - Show whether cluster DNS is healthy across every node — resolver status, last sync, and errors — without SSHing into a node to read logs
|
|
26
|
+
- `resolvers` - Each node's resolver: health, version, records served and last sync
|
|
27
|
+
- `records` - The internal zone's records and who owns them, newest first
|
|
28
|
+
- `queries` - Recent queries the internal resolvers answered, newest first
|
|
29
|
+
- `traffic` - Queries per outcome over time for one node's resolver
|
|
30
|
+
- `resolve` - Resolve a name from one node's resolver, optionally as a project or sandbox would see it
|
|
22
31
|
|
|
23
32
|
#### `cluster dns status`
|
|
24
33
|
|
|
@@ -29,3 +38,217 @@ Show whether cluster DNS is healthy across every node — resolver status, last
|
|
|
29
38
|
| Flag | Description | Default | Required |
|
|
30
39
|
|------|-------------|---------|----------|
|
|
31
40
|
| `--json` | Output in JSON format | - | No |
|
|
41
|
+
|
|
42
|
+
#### `cluster dns resolvers`
|
|
43
|
+
|
|
44
|
+
Each node's resolver: health, version, records served and last sync
|
|
45
|
+
|
|
46
|
+
**Options:**
|
|
47
|
+
|
|
48
|
+
| Flag | Description | Default | Required |
|
|
49
|
+
|------|-------------|---------|----------|
|
|
50
|
+
| `--json` | Output in JSON format | - | No |
|
|
51
|
+
|
|
52
|
+
#### `cluster dns records`
|
|
53
|
+
|
|
54
|
+
The internal zone's records and who owns them, newest first
|
|
55
|
+
|
|
56
|
+
**Options:**
|
|
57
|
+
|
|
58
|
+
| Flag | Description | Default | Required |
|
|
59
|
+
|------|-------------|---------|----------|
|
|
60
|
+
| `--search <text>` | Only records whose name contains this | - | No |
|
|
61
|
+
| `--node <id>` | Only records served by this node | - | No |
|
|
62
|
+
| `--owner-kind <kind>` | Only records owned by this kind (e.g. environment, service, sandbox) | - | No |
|
|
63
|
+
| `--page <n>` | Page (default 1) | - | No |
|
|
64
|
+
| `--page-size <n>` | Records per page (max 100) | - | No |
|
|
65
|
+
| `--json` | Output in JSON format | - | No |
|
|
66
|
+
|
|
67
|
+
#### `cluster dns queries`
|
|
68
|
+
|
|
69
|
+
Recent queries the internal resolvers answered, newest first
|
|
70
|
+
|
|
71
|
+
**Options:**
|
|
72
|
+
|
|
73
|
+
| Flag | Description | Default | Required |
|
|
74
|
+
|------|-------------|---------|----------|
|
|
75
|
+
| `--node <id>` | Only this node | - | No |
|
|
76
|
+
| `--outcome <outcome>` | Only this outcome (e.g. answered, nxdomain, refused) | - | No |
|
|
77
|
+
| `--zone <zone>` | Only this zone | - | No |
|
|
78
|
+
| `--name <name>` | Only this queried name | - | No |
|
|
79
|
+
| `--project <id>` | Only queries from this project ID | - | No |
|
|
80
|
+
| `--page <n>` | Page (default 1) | - | No |
|
|
81
|
+
| `--page-size <n>` | Queries per page (max 100) | - | No |
|
|
82
|
+
| `--json` | Output in JSON format | - | No |
|
|
83
|
+
|
|
84
|
+
#### `cluster dns traffic`
|
|
85
|
+
|
|
86
|
+
Queries per outcome over time for one node's resolver
|
|
87
|
+
|
|
88
|
+
**Options:**
|
|
89
|
+
|
|
90
|
+
| Flag | Description | Default | Required |
|
|
91
|
+
|------|-------------|---------|----------|
|
|
92
|
+
| `--node <id>` | Node (default: the control plane) | - | No |
|
|
93
|
+
| `--range <range>` | Time range, e.g. 1h, 24h, 7d | - | No |
|
|
94
|
+
| `--json` | Output in JSON format | - | No |
|
|
95
|
+
|
|
96
|
+
#### `cluster dns resolve`
|
|
97
|
+
|
|
98
|
+
Resolve a name from one node's resolver, optionally as a project or sandbox would see it
|
|
99
|
+
|
|
100
|
+
**Usage:** `cluster dns resolve <name> [options]`
|
|
101
|
+
|
|
102
|
+
**Options:**
|
|
103
|
+
|
|
104
|
+
| Flag | Description | Default | Required |
|
|
105
|
+
|------|-------------|---------|----------|
|
|
106
|
+
| `--node <id>` | Node whose resolver answers | - | Yes |
|
|
107
|
+
| `--type <type>` | Record type (A, AAAA, CNAME, SRV, TXT) | - | No |
|
|
108
|
+
| `--project <id>` | Ask as this project ID | - | No |
|
|
109
|
+
| `--sandbox <id>` | Ask as this sandbox | - | No |
|
|
110
|
+
| `--json` | Output in JSON format | - | No |
|
|
111
|
+
|
|
112
|
+
### `cluster network`
|
|
113
|
+
|
|
114
|
+
The compute network workloads get their addresses from
|
|
115
|
+
|
|
116
|
+
**Subcommands:**
|
|
117
|
+
|
|
118
|
+
- `show` - Show the compute pool, whether it can change, and each node's allocation
|
|
119
|
+
- `set` - Change the compute pool (only while no allocation uses it)
|
|
120
|
+
- `new-network-id` - Give this cluster its own VXLAN network ID, so it cannot collide with another cluster on the same network
|
|
121
|
+
|
|
122
|
+
#### `cluster network show`
|
|
123
|
+
|
|
124
|
+
Show the compute pool, whether it can change, and each node's allocation
|
|
125
|
+
|
|
126
|
+
**Options:**
|
|
127
|
+
|
|
128
|
+
| Flag | Description | Default | Required |
|
|
129
|
+
|------|-------------|---------|----------|
|
|
130
|
+
| `--json` | Output in JSON format | - | No |
|
|
131
|
+
|
|
132
|
+
#### `cluster network set`
|
|
133
|
+
|
|
134
|
+
Change the compute pool (only while no allocation uses it)
|
|
135
|
+
|
|
136
|
+
**Options:**
|
|
137
|
+
|
|
138
|
+
| Flag | Description | Default | Required |
|
|
139
|
+
|------|-------------|---------|----------|
|
|
140
|
+
| `--compute-pool <cidr>` | CIDR workloads get addresses from | - | Yes |
|
|
141
|
+
| `--overlay-network <name>` | Docker overlay network name | - | No |
|
|
142
|
+
| `--subnet-prefix <len>` | Per-node subnet prefix length | - | No |
|
|
143
|
+
| `-y, --yes` | Do not ask for confirmation | - | No |
|
|
144
|
+
| `--json` | Output in JSON format | - | No |
|
|
145
|
+
|
|
146
|
+
#### `cluster network new-network-id`
|
|
147
|
+
|
|
148
|
+
Give this cluster its own VXLAN network ID, so it cannot collide with another cluster on the same network
|
|
149
|
+
|
|
150
|
+
**Options:**
|
|
151
|
+
|
|
152
|
+
| Flag | Description | Default | Required |
|
|
153
|
+
|------|-------------|---------|----------|
|
|
154
|
+
| `-y, --yes` | Do not ask for confirmation | - | No |
|
|
155
|
+
| `--json` | Output in JSON format | - | No |
|
|
156
|
+
|
|
157
|
+
### `cluster join-token`
|
|
158
|
+
|
|
159
|
+
The shared token worker nodes join with
|
|
160
|
+
|
|
161
|
+
**Subcommands:**
|
|
162
|
+
|
|
163
|
+
- `status` - Show whether a join token is configured
|
|
164
|
+
- `generate` - Generate a new join token (replaces the current one; shown once)
|
|
165
|
+
- `revoke` - Revoke the join token; no new node can join with it
|
|
166
|
+
|
|
167
|
+
#### `cluster join-token status`
|
|
168
|
+
|
|
169
|
+
Show whether a join token is configured
|
|
170
|
+
|
|
171
|
+
**Options:**
|
|
172
|
+
|
|
173
|
+
| Flag | Description | Default | Required |
|
|
174
|
+
|------|-------------|---------|----------|
|
|
175
|
+
| `--json` | Output in JSON format | - | No |
|
|
176
|
+
|
|
177
|
+
#### `cluster join-token generate`
|
|
178
|
+
|
|
179
|
+
Generate a new join token (replaces the current one; shown once)
|
|
180
|
+
|
|
181
|
+
**Options:**
|
|
182
|
+
|
|
183
|
+
| Flag | Description | Default | Required |
|
|
184
|
+
|------|-------------|---------|----------|
|
|
185
|
+
| `-y, --yes` | Do not ask before replacing an existing token | - | No |
|
|
186
|
+
| `--json` | Output in JSON format | - | No |
|
|
187
|
+
|
|
188
|
+
#### `cluster join-token revoke`
|
|
189
|
+
|
|
190
|
+
Revoke the join token; no new node can join with it
|
|
191
|
+
|
|
192
|
+
**Options:**
|
|
193
|
+
|
|
194
|
+
| Flag | Description | Default | Required |
|
|
195
|
+
|------|-------------|---------|----------|
|
|
196
|
+
| `-y, --yes` | Do not ask for confirmation | - | No |
|
|
197
|
+
| `--json` | Output in JSON format | - | No |
|
|
198
|
+
|
|
199
|
+
### `cluster enrollment-tokens`
|
|
200
|
+
|
|
201
|
+
Short-lived, single-use tokens a new node enrolls with
|
|
202
|
+
|
|
203
|
+
**Subcommands:**
|
|
204
|
+
|
|
205
|
+
- `list` (`ls`) - List valid enrollment tokens (the tokens themselves are never returned)
|
|
206
|
+
- `create` (`mint`) - Mint an enrollment token (shown once)
|
|
207
|
+
- `revoke` - Revoke an enrollment token
|
|
208
|
+
|
|
209
|
+
#### `cluster enrollment-tokens list` (alias: `ls`)
|
|
210
|
+
|
|
211
|
+
List valid enrollment tokens (the tokens themselves are never returned)
|
|
212
|
+
|
|
213
|
+
**Options:**
|
|
214
|
+
|
|
215
|
+
| Flag | Description | Default | Required |
|
|
216
|
+
|------|-------------|---------|----------|
|
|
217
|
+
| `--json` | Output in JSON format | - | No |
|
|
218
|
+
|
|
219
|
+
#### `cluster enrollment-tokens create` (alias: `mint`)
|
|
220
|
+
|
|
221
|
+
Mint an enrollment token (shown once)
|
|
222
|
+
|
|
223
|
+
**Options:**
|
|
224
|
+
|
|
225
|
+
| Flag | Description | Default | Required |
|
|
226
|
+
|------|-------------|---------|----------|
|
|
227
|
+
| `--ttl <seconds>` | How long it is valid | - | No |
|
|
228
|
+
| `--max-uses <n>` | How many nodes may enroll with it | - | No |
|
|
229
|
+
| `--node <name>` | Only a node with this name may use it | - | No |
|
|
230
|
+
| `--json` | Output in JSON format | - | No |
|
|
231
|
+
|
|
232
|
+
#### `cluster enrollment-tokens revoke`
|
|
233
|
+
|
|
234
|
+
Revoke an enrollment token
|
|
235
|
+
|
|
236
|
+
**Usage:** `cluster enrollment-tokens revoke <id> [options]`
|
|
237
|
+
|
|
238
|
+
**Options:**
|
|
239
|
+
|
|
240
|
+
| Flag | Description | Default | Required |
|
|
241
|
+
|------|-------------|---------|----------|
|
|
242
|
+
| `--json` | Output in JSON format | - | No |
|
|
243
|
+
|
|
244
|
+
### `cluster rotate-ca`
|
|
245
|
+
|
|
246
|
+
Replace a compromised cluster CA: every node re-enrolls and outstanding enrollment tokens are revoked
|
|
247
|
+
|
|
248
|
+
**Options:**
|
|
249
|
+
|
|
250
|
+
| Flag | Description | Default | Required |
|
|
251
|
+
|------|-------------|---------|----------|
|
|
252
|
+
| `--expected-fingerprint <sha256>` | Fingerprint of the current CA, read through a trusted channel just before | - | Yes |
|
|
253
|
+
| `-y, --yes` | Do not ask; sends the confirmation "ROTATE CLUSTER CA" for you | - | No |
|
|
254
|
+
| `--json` | Output in JSON format | - | No |
|
|
@@ -19,6 +19,9 @@ Configure CLI settings (AWS-style wizard)
|
|
|
19
19
|
| `--disable-colors` | Disable colored output in config | - | No |
|
|
20
20
|
| `-i, --interactive` | Force interactive mode even in non-TTY | - | No |
|
|
21
21
|
| `-y, --no-interactive` | Non-interactive mode (uses defaults for unspecified options) | - | No |
|
|
22
|
+
| `--api-token-file <path>` | Read the API token from a file (- reads stdin) instead of --api-token | - | No |
|
|
23
|
+
| `--api-token-stdin` | Read the API token from stdin instead of --api-token | - | No |
|
|
24
|
+
| `--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 |
|
|
22
25
|
|
|
23
26
|
**Subcommands:**
|
|
24
27
|
|
|
@@ -32,10 +35,14 @@ Configure CLI settings (AWS-style wizard)
|
|
|
32
35
|
|
|
33
36
|
Get a configuration value
|
|
34
37
|
|
|
38
|
+
**Usage:** `configure get <key>`
|
|
39
|
+
|
|
35
40
|
### `configure set`
|
|
36
41
|
|
|
37
42
|
Set a configuration value
|
|
38
43
|
|
|
44
|
+
**Usage:** `configure set <key> <value>`
|
|
45
|
+
|
|
39
46
|
### `configure list`
|
|
40
47
|
|
|
41
48
|
List all configuration values
|
|
@@ -17,6 +17,9 @@ Manage project containers in environments
|
|
|
17
17
|
- `restart` - Restart a container
|
|
18
18
|
- `history` - List containers that have run in an environment, including ones replaced by a later redeploy; every currently-running container is always included
|
|
19
19
|
- `metrics` - Get container resource metrics (all containers if no container ID specified)
|
|
20
|
+
- `get-environment-variable` - Get container environment variable
|
|
21
|
+
- `metrics-get-history` - Fetch a time-series range for a single container resource metric (recorded by the container health monitor..
|
|
22
|
+
- `stream-metrics` - Stream container metrics via Server-Sent Events (SSE)
|
|
20
23
|
|
|
21
24
|
### `containers list` (alias: `ls`)
|
|
22
25
|
|
|
@@ -108,3 +111,45 @@ Get container resource metrics (all containers if no container ID specified)
|
|
|
108
111
|
| `--json` | Output in JSON format | - | No |
|
|
109
112
|
| `-w, --watch` | Watch mode - continuously update metrics | - | No |
|
|
110
113
|
| `-i, --interval <seconds>` | Refresh interval in seconds (default: 2) | `2` | No |
|
|
114
|
+
|
|
115
|
+
### `containers get-environment-variable`
|
|
116
|
+
|
|
117
|
+
Get container environment variable
|
|
118
|
+
|
|
119
|
+
**Usage:** `containers get-environment-variable <environment-id> <container-id> <variable-name> [options]`
|
|
120
|
+
|
|
121
|
+
**Options:**
|
|
122
|
+
|
|
123
|
+
| Flag | Description | Default | Required |
|
|
124
|
+
|------|-------------|---------|----------|
|
|
125
|
+
| `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
|
|
126
|
+
| `--json` | Output in JSON format | - | No |
|
|
127
|
+
|
|
128
|
+
### `containers metrics-get-history`
|
|
129
|
+
|
|
130
|
+
Fetch a time-series range for a single container resource metric (recorded by the container health monitor..
|
|
131
|
+
|
|
132
|
+
**Usage:** `containers metrics-get-history <environment-id> <container-id> [options]`
|
|
133
|
+
|
|
134
|
+
**Options:**
|
|
135
|
+
|
|
136
|
+
| Flag | Description | Default | Required |
|
|
137
|
+
|------|-------------|---------|----------|
|
|
138
|
+
| `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
|
|
139
|
+
| `--metric <value>` | Dotted metric name, e.g. 'container.cpu_percent' or 'container.memory_used_bytes' [required] | - | No |
|
|
140
|
+
| `--range <value>` | Time window: '1h', '6h', '24h', or '7d' (defaults to '1h') | - | No |
|
|
141
|
+
| `--json` | Output in JSON format | - | No |
|
|
142
|
+
|
|
143
|
+
### `containers stream-metrics`
|
|
144
|
+
|
|
145
|
+
Stream container metrics via Server-Sent Events (SSE)
|
|
146
|
+
|
|
147
|
+
**Usage:** `containers stream-metrics <environment-id> <container-id> [options]`
|
|
148
|
+
|
|
149
|
+
**Options:**
|
|
150
|
+
|
|
151
|
+
| Flag | Description | Default | Required |
|
|
152
|
+
|------|-------------|---------|----------|
|
|
153
|
+
| `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
|
|
154
|
+
| `--interval <n>` | Update interval in milliseconds (default: 1000) | - | No |
|
|
155
|
+
| `--json` | Output in JSON format | - | No |
|
|
@@ -30,14 +30,20 @@ List all configured contexts
|
|
|
30
30
|
|
|
31
31
|
Switch the active context
|
|
32
32
|
|
|
33
|
+
**Usage:** `context use <name>`
|
|
34
|
+
|
|
33
35
|
### `context remove` (alias: `rm`)
|
|
34
36
|
|
|
35
37
|
Remove a context (does NOT revoke the key on the server)
|
|
36
38
|
|
|
39
|
+
**Usage:** `context remove <name>`
|
|
40
|
+
|
|
37
41
|
### `context rename`
|
|
38
42
|
|
|
39
43
|
Rename a context
|
|
40
44
|
|
|
45
|
+
**Usage:** `context rename <old-name> <new-name>`
|
|
46
|
+
|
|
41
47
|
### `context current`
|
|
42
48
|
|
|
43
49
|
Print the active context name
|
|
@@ -16,6 +16,8 @@ Manage project custom domains
|
|
|
16
16
|
- `update` - Update a custom domain
|
|
17
17
|
- `remove` (`rm`) - Remove a custom domain
|
|
18
18
|
- `link-cert` - Link a custom domain to a certificate
|
|
19
|
+
- `get-visible-by-hostname` - Find the project assignment for a certificate hostname
|
|
20
|
+
- `reassign` - Move a domain between projects without deleting its route or certificate
|
|
19
21
|
|
|
20
22
|
### `custom-domains list` (alias: `ls`)
|
|
21
23
|
|
|
@@ -42,6 +44,7 @@ Create a custom domain for a project
|
|
|
42
44
|
| `--branch <branch>` | Branch name | - | No |
|
|
43
45
|
| `--redirect-to <url>` | Redirect target URL | - | No |
|
|
44
46
|
| `--status-code <code>` | HTTP status code for redirects | - | No |
|
|
47
|
+
| `--service <name>` | Docker Compose service the domain routes to (compose projects only) | - | No |
|
|
45
48
|
| `-y, --yes` | Skip confirmation prompts (for automation) | - | No |
|
|
46
49
|
|
|
47
50
|
### `custom-domains show`
|
|
@@ -71,6 +74,7 @@ Update a custom domain
|
|
|
71
74
|
| `--branch <branch>` | New branch name | - | No |
|
|
72
75
|
| `--redirect-to <url>` | New redirect target URL | - | No |
|
|
73
76
|
| `--status-code <code>` | New HTTP status code for redirects | - | No |
|
|
77
|
+
| `--service <name>` | Docker Compose service the domain routes to ("" routes to the default service) | - | No |
|
|
74
78
|
|
|
75
79
|
### `custom-domains remove` (alias: `rm`)
|
|
76
80
|
|
|
@@ -96,3 +100,31 @@ Link a custom domain to a certificate
|
|
|
96
100
|
| `--project-id <id>` | Project ID | - | Yes |
|
|
97
101
|
| `--domain-id <id>` | Custom domain ID | - | Yes |
|
|
98
102
|
| `--certificate-id <id>` | Certificate ID | - | Yes |
|
|
103
|
+
|
|
104
|
+
### `custom-domains get-visible-by-hostname`
|
|
105
|
+
|
|
106
|
+
Find the project assignment for a certificate hostname
|
|
107
|
+
|
|
108
|
+
**Usage:** `custom-domains get-visible-by-hostname <hostname> [options]`
|
|
109
|
+
|
|
110
|
+
**Options:**
|
|
111
|
+
|
|
112
|
+
| Flag | Description | Default | Required |
|
|
113
|
+
|------|-------------|---------|----------|
|
|
114
|
+
| `--json` | Output in JSON format | - | No |
|
|
115
|
+
|
|
116
|
+
### `custom-domains reassign`
|
|
117
|
+
|
|
118
|
+
Move a domain between projects without deleting its route or certificate
|
|
119
|
+
|
|
120
|
+
**Usage:** `custom-domains reassign <source-project-id> <domain-id> [options]`
|
|
121
|
+
|
|
122
|
+
**Options:**
|
|
123
|
+
|
|
124
|
+
| Flag | Description | Default | Required |
|
|
125
|
+
|------|-------------|---------|----------|
|
|
126
|
+
| `--target-environment-id <n>` | Body field target_environment_id [required] | - | No |
|
|
127
|
+
| `--target-project-id <n>` | Body field target_project_id [required] | - | No |
|
|
128
|
+
| `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
|
|
129
|
+
| `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
|
|
130
|
+
| `--json` | Output in JSON format | - | No |
|
|
@@ -15,12 +15,13 @@ Browse the data inside a service (tables, collections, keys, objects) — read-o
|
|
|
15
15
|
- `tables` (`entities`) - List tables, collections, keys or objects in a container
|
|
16
16
|
- `schema` (`columns`) - Show an entity's columns, types and row count
|
|
17
17
|
- `rows` (`select`) - Read rows from an entity
|
|
18
|
-
- `ai-access` - Show or set whether the built-in AI assistant may read this service's rows
|
|
19
18
|
|
|
20
19
|
### `data info`
|
|
21
20
|
|
|
22
21
|
Show what a service supports and how its containers nest
|
|
23
22
|
|
|
23
|
+
**Usage:** `data info <service> [options]`
|
|
24
|
+
|
|
24
25
|
**Options:**
|
|
25
26
|
|
|
26
27
|
| Flag | Description | Default | Required |
|
|
@@ -31,6 +32,8 @@ Show what a service supports and how its containers nest
|
|
|
31
32
|
|
|
32
33
|
List top-level containers (databases, or buckets for S3)
|
|
33
34
|
|
|
35
|
+
**Usage:** `data containers <service> [options]`
|
|
36
|
+
|
|
34
37
|
**Options:**
|
|
35
38
|
|
|
36
39
|
| Flag | Description | Default | Required |
|
|
@@ -42,18 +45,23 @@ List top-level containers (databases, or buckets for S3)
|
|
|
42
45
|
|
|
43
46
|
List tables, collections, keys or objects in a container
|
|
44
47
|
|
|
48
|
+
**Usage:** `data tables <service> [options]`
|
|
49
|
+
|
|
45
50
|
**Options:**
|
|
46
51
|
|
|
47
52
|
| Flag | Description | Default | Required |
|
|
48
53
|
|------|-------------|---------|----------|
|
|
49
54
|
| `--path <path>` | Container path, slash-separated (e.g. mydb/public) | - | Yes |
|
|
50
55
|
| `--limit <n>` | Maximum entities to return (default: 100) | - | No |
|
|
56
|
+
| `--next-token <token>` | Continue from the next_token of a previous page | - | No |
|
|
51
57
|
| `--json` | Output in JSON format | - | No |
|
|
52
58
|
|
|
53
59
|
### `data schema` (alias: `columns`)
|
|
54
60
|
|
|
55
61
|
Show an entity's columns, types and row count
|
|
56
62
|
|
|
63
|
+
**Usage:** `data schema <service> <entity> [options]`
|
|
64
|
+
|
|
57
65
|
**Options:**
|
|
58
66
|
|
|
59
67
|
| Flag | Description | Default | Required |
|
|
@@ -65,6 +73,8 @@ Show an entity's columns, types and row count
|
|
|
65
73
|
|
|
66
74
|
Read rows from an entity
|
|
67
75
|
|
|
76
|
+
**Usage:** `data rows <service> <entity> [options]`
|
|
77
|
+
|
|
68
78
|
**Options:**
|
|
69
79
|
|
|
70
80
|
| Flag | Description | Default | Required |
|
|
@@ -76,15 +86,3 @@ Read rows from an entity
|
|
|
76
86
|
| `--sort-by <field>` | Field to sort by | - | No |
|
|
77
87
|
| `--sort-order <order>` | asc or desc (default: asc) | - | No |
|
|
78
88
|
| `--json` | Output in JSON format | - | No |
|
|
79
|
-
|
|
80
|
-
### `data ai-access`
|
|
81
|
-
|
|
82
|
-
Show or set whether the built-in AI assistant may read this service's rows
|
|
83
|
-
|
|
84
|
-
**Options:**
|
|
85
|
-
|
|
86
|
-
| Flag | Description | Default | Required |
|
|
87
|
-
|------|-------------|---------|----------|
|
|
88
|
-
| `--enable` | Allow the built-in assistant to read row data | - | No |
|
|
89
|
-
| `--disable` | Stop the built-in assistant reading row data | - | No |
|
|
90
|
-
| `--json` | Output in JSON format | - | No |
|
|
@@ -12,7 +12,9 @@ Deploy a pre-built Docker image
|
|
|
12
12
|
|
|
13
13
|
| Flag | Description | Default | Required |
|
|
14
14
|
|------|-------------|---------|----------|
|
|
15
|
-
| `--image <image>` | Docker image reference (e.g., ghcr.io/org/app:v1.0) | - |
|
|
15
|
+
| `--image <image>` | Docker image reference (e.g., ghcr.io/org/app:v1.0) | - | No |
|
|
16
|
+
| `--external-image-id <id>` | Deploy an image already registered with Temps instead of --image | - | No |
|
|
17
|
+
| `--claim-local` | --image is on the platform host's Docker daemon, not in a registry: claim it | - | No |
|
|
16
18
|
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
17
19
|
| `-e, --environment <env>` | Target environment name | `production` | No |
|
|
18
20
|
| `--environment-id <id>` | Target environment ID | - | No |
|
|
@@ -16,6 +16,9 @@ Build and deploy a local Docker image (or deploy existing image with --image)
|
|
|
16
16
|
| `-f, --dockerfile <path>` | Path to Dockerfile | `Dockerfile` | No |
|
|
17
17
|
| `-c, --context <path>` | Build context directory | `.` | No |
|
|
18
18
|
| `--build-arg <arg...>` | Build arguments (can be specified multiple times) | - | No |
|
|
19
|
+
| `--build-command <cmd>` | With no Dockerfile: the build command in the one generated from the project's preset | - | No |
|
|
20
|
+
| `--install-command <cmd>` | With no Dockerfile: the install command in the generated one | - | No |
|
|
21
|
+
| `--output-dir <dir>` | With no Dockerfile: the static output directory in the generated one | - | No |
|
|
19
22
|
| `--no-build` | Skip building, requires --image | - | No |
|
|
20
23
|
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
21
24
|
| `-e, --environment <env>` | Target environment name | `production` | No |
|