@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,9 @@ Manage API keys for programmatic access
|
|
|
17
17
|
- `activate` - Activate a deactivated API key
|
|
18
18
|
- `deactivate` - Deactivate an API key
|
|
19
19
|
- `permissions` - List available API key permissions
|
|
20
|
+
- `get-ai-harness-status` - Whether the caller's external AI harness has connected
|
|
21
|
+
- `update-api-key` - Update api key
|
|
22
|
+
- `rotate-api-key` - Rotate api key
|
|
20
23
|
|
|
21
24
|
### `apikeys list` (alias: `ls`)
|
|
22
25
|
|
|
@@ -27,6 +30,8 @@ List all API keys
|
|
|
27
30
|
| Flag | Description | Default | Required |
|
|
28
31
|
|------|-------------|---------|----------|
|
|
29
32
|
| `--json` | Output in JSON format | - | No |
|
|
33
|
+
| `--page <n>` | Query parameter page | - | No |
|
|
34
|
+
| `--page-size <n>` | Keys per page (max 100) | - | No |
|
|
30
35
|
|
|
31
36
|
### `apikeys create` (alias: `add`)
|
|
32
37
|
|
|
@@ -39,7 +44,9 @@ Create a new API key
|
|
|
39
44
|
| `-n, --name <name>` | API key name | - | No |
|
|
40
45
|
| `-r, --role <role>` | Role type (admin, platform_admin, user, reader, api_reader, custom, metrics_ingest) | - | No |
|
|
41
46
|
| `-e, --expires-in <days>` | Expires in N days (7, 30, 90, 365) | - | No |
|
|
42
|
-
| `-p, --permissions <permissions>` | Comma-separated list of permissions | - | No |
|
|
47
|
+
| `-p, --permissions <permissions>` | Comma-separated list of the key's exact permissions (the key uses the custom role) | - | No |
|
|
48
|
+
| `--project-id <id>` | Confine to one project’s deployment and environment APIs | - | No |
|
|
49
|
+
| `--environment-id <id>` | Confine to one environment (requires --project-id) | - | No |
|
|
43
50
|
| `-y, --yes` | Skip confirmation prompts (for automation) | - | No |
|
|
44
51
|
|
|
45
52
|
### `apikeys show`
|
|
@@ -94,3 +101,45 @@ List available API key permissions
|
|
|
94
101
|
| Flag | Description | Default | Required |
|
|
95
102
|
|------|-------------|---------|----------|
|
|
96
103
|
| `--json` | Output in JSON format | - | No |
|
|
104
|
+
|
|
105
|
+
### `apikeys get-ai-harness-status`
|
|
106
|
+
|
|
107
|
+
Whether the caller's external AI harness has connected
|
|
108
|
+
|
|
109
|
+
**Options:**
|
|
110
|
+
|
|
111
|
+
| Flag | Description | Default | Required |
|
|
112
|
+
|------|-------------|---------|----------|
|
|
113
|
+
| `--json` | Output in JSON format | - | No |
|
|
114
|
+
|
|
115
|
+
### `apikeys update-api-key`
|
|
116
|
+
|
|
117
|
+
Update api key
|
|
118
|
+
|
|
119
|
+
**Usage:** `apikeys update-api-key <id> [options]`
|
|
120
|
+
|
|
121
|
+
**Options:**
|
|
122
|
+
|
|
123
|
+
| Flag | Description | Default | Required |
|
|
124
|
+
|------|-------------|---------|----------|
|
|
125
|
+
| `--expires-at <value>` | Body field expires_at | - | No |
|
|
126
|
+
| `--is-active` | Body field is_active | - | No |
|
|
127
|
+
| `--no-is-active` | Set is_active to false | - | No |
|
|
128
|
+
| `--name <value>` | Body field name | - | No |
|
|
129
|
+
| `--permissions <value>` | Body field permissions (repeatable) | - | No |
|
|
130
|
+
| `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
|
|
131
|
+
| `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
|
|
132
|
+
| `--json` | Output in JSON format | - | No |
|
|
133
|
+
|
|
134
|
+
### `apikeys rotate-api-key`
|
|
135
|
+
|
|
136
|
+
Rotate api key
|
|
137
|
+
|
|
138
|
+
**Usage:** `apikeys rotate-api-key <id> [options]`
|
|
139
|
+
|
|
140
|
+
**Options:**
|
|
141
|
+
|
|
142
|
+
| Flag | Description | Default | Required |
|
|
143
|
+
|------|-------------|---------|----------|
|
|
144
|
+
| `-y, --yes` | Do not ask for confirmation | - | No |
|
|
145
|
+
| `--json` | Output in JSON format | - | No |
|
|
@@ -26,6 +26,7 @@ List audit logs
|
|
|
26
26
|
| `--offset <n>` | Number of logs to skip | - | No |
|
|
27
27
|
| `--operation-type <type>` | Filter by operation type | - | No |
|
|
28
28
|
| `--user-id <id>` | Filter by user ID | - | No |
|
|
29
|
+
| `--resource-id <id>` | Filter by the ID of the resource acted on | - | No |
|
|
29
30
|
| `--from <timestamp>` | Start timestamp (ISO 8601 or epoch ms) | - | No |
|
|
30
31
|
| `--to <timestamp>` | End timestamp (ISO 8601 or epoch ms) | - | No |
|
|
31
32
|
|
|
@@ -4,6 +4,33 @@
|
|
|
4
4
|
|
|
5
5
|
Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing a command. Runtime `--help` is authoritative.
|
|
6
6
|
|
|
7
|
+
## Contents
|
|
8
|
+
|
|
9
|
+
- [`backups schedules`](#backups-schedules-alias-schedule)
|
|
10
|
+
- [`backups sources`](#backups-sources-alias-source)
|
|
11
|
+
- [`backups list`](#backups-list-alias-ls)
|
|
12
|
+
- [`backups show`](#backups-show)
|
|
13
|
+
- [`backups delete`](#backups-delete-alias-rm)
|
|
14
|
+
- [`backups cleanup`](#backups-cleanup)
|
|
15
|
+
- [`backups run-service`](#backups-run-service)
|
|
16
|
+
- [`backups list-alerts`](#backups-list-alerts)
|
|
17
|
+
- [`backups get-external-service-capability`](#backups-get-external-service-capability)
|
|
18
|
+
- [`backups list-external-service`](#backups-list-external-service)
|
|
19
|
+
- [`backups list-service-schedules`](#backups-list-service-schedules)
|
|
20
|
+
- [`backups test-s3-connection-preview`](#backups-test-s3-connection-preview)
|
|
21
|
+
- [`backups set-default-s3-source`](#backups-set-default-s3-source)
|
|
22
|
+
- [`backups test-s3-source-connection`](#backups-test-s3-source-connection)
|
|
23
|
+
- [`backups cancel-schedule-run`](#backups-cancel-schedule-run)
|
|
24
|
+
- [`backups list-schedule-run-jobs`](#backups-list-schedule-run-jobs)
|
|
25
|
+
- [`backups update-schedule`](#backups-update-schedule)
|
|
26
|
+
- [`backups run-schedule-now`](#backups-run-schedule-now)
|
|
27
|
+
- [`backups list-schedule-runs`](#backups-list-schedule-runs)
|
|
28
|
+
- [`backups list-schedule-services`](#backups-list-schedule-services)
|
|
29
|
+
- [`backups attach-schedule-services`](#backups-attach-schedule-services)
|
|
30
|
+
- [`backups detach-schedule-service`](#backups-detach-schedule-service)
|
|
31
|
+
- [`backups cancel`](#backups-cancel)
|
|
32
|
+
- [`backups list-children`](#backups-list-children)
|
|
33
|
+
|
|
7
34
|
## `backups` (alias: `backup`)
|
|
8
35
|
|
|
9
36
|
Manage backup schedules and backups
|
|
@@ -17,6 +44,23 @@ Manage backup schedules and backups
|
|
|
17
44
|
- `delete` (`rm`) - Permanently delete one terminal backup
|
|
18
45
|
- `cleanup` - Delete backups expired by their schedule retention policy
|
|
19
46
|
- `run-service` - Run a backup for an external service
|
|
47
|
+
- `list-alerts` - List open backup alerts
|
|
48
|
+
- `get-external-service-capability` - Report whether an existing service can produce a Cloud-restorable backup
|
|
49
|
+
- `list-external-service` - List all backups for a specific external service (DB-only, no S3 scan)
|
|
50
|
+
- `list-service-schedules` - List the schedules that target a specific external service
|
|
51
|
+
- `test-s3-connection-preview` - Test S3 connectivity against a prospective source configuration (before creating it)
|
|
52
|
+
- `set-default-s3-source` - Mark an S3 source as the default
|
|
53
|
+
- `test-s3-source-connection` - Test connectivity to an existing S3 source using its stored credentials
|
|
54
|
+
- `cancel-schedule-run` - Cancel every non-terminal child backup belonging to a schedule run
|
|
55
|
+
- `list-schedule-run-jobs` - List the individual backup jobs for a single scheduler run
|
|
56
|
+
- `update-schedule` - Update a backup schedule (partial update)
|
|
57
|
+
- `run-schedule-now` - Immediately fan-out a run for the given schedule (Run Now)
|
|
58
|
+
- `list-schedule-runs` - Paginated run history for a backup schedule (one row per scheduler tick)
|
|
59
|
+
- `list-schedule-services` - List the external services attached to a backup schedule
|
|
60
|
+
- `attach-schedule-services` - Attach one or more external services to a backup schedule
|
|
61
|
+
- `detach-schedule-service` - Detach a single external service from a backup schedule
|
|
62
|
+
- `cancel` - Cancel a single in-flight backup
|
|
63
|
+
- `list-children` - List the external-service child backups that belong to a parent backup
|
|
20
64
|
|
|
21
65
|
### `backups schedules` (alias: `schedule`)
|
|
22
66
|
|
|
@@ -56,6 +100,12 @@ Create a backup schedule
|
|
|
56
100
|
| `-d, --description <desc>` | Description | - | No |
|
|
57
101
|
| `--s3-source-id <id>` | S3 Source ID | - | No |
|
|
58
102
|
| `-y, --yes` | Skip confirmation prompts (for automation) | - | No |
|
|
103
|
+
| `--target-all-services` | Back up every external service (the default when no --service-ids) | - | No |
|
|
104
|
+
| `--no-target-all-services` | Set target_all_services to false | - | No |
|
|
105
|
+
| `--service-ids <n>` | Back up only these external services (repeatable) (repeatable) | - | No |
|
|
106
|
+
| `--include-control-plane` | Also back up Temps' own database | - | No |
|
|
107
|
+
| `--no-include-control-plane` | Set include_control_plane to false | - | No |
|
|
108
|
+
| `--max-runtime-secs <n>` | Cancel a run that takes longer than this | - | No |
|
|
59
109
|
|
|
60
110
|
#### `backups schedules show`
|
|
61
111
|
|
|
@@ -140,6 +190,15 @@ Create an S3 source
|
|
|
140
190
|
| `--secret-key <key>` | Secret access key | - | No |
|
|
141
191
|
| `--prefix <prefix>` | Bucket path/prefix | - | No |
|
|
142
192
|
| `-y, --yes` | Skip confirmation prompts (for automation) | - | No |
|
|
193
|
+
| `--use-tls` | Connect to the endpoint over TLS (default true) | - | No |
|
|
194
|
+
| `--no-use-tls` | Set use_tls to false | - | No |
|
|
195
|
+
| `--worker-credentials <json>` | Separate credentials the backup workers use, as JSON (JSON) | - | No |
|
|
196
|
+
| `--backing-service-id <n>` | The external service (S3/MinIO) that hosts this bucket | - | No |
|
|
197
|
+
| `--is-default` | Make this the default backup destination | - | No |
|
|
198
|
+
| `--no-is-default` | Set is_default to false | - | No |
|
|
199
|
+
| `--secret-key-file <path>` | Read the S3 secret access key from a file (- reads stdin) instead of --secret-key | - | No |
|
|
200
|
+
| `--secret-key-stdin` | Read the S3 secret access key from stdin instead of --secret-key | - | No |
|
|
201
|
+
| `--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 |
|
|
143
202
|
|
|
144
203
|
#### `backups sources show`
|
|
145
204
|
|
|
@@ -168,6 +227,12 @@ Update an S3 source
|
|
|
168
227
|
| `--access-key <key>` | New access key ID | - | No |
|
|
169
228
|
| `--secret-key <key>` | New secret access key | - | No |
|
|
170
229
|
| `--prefix <prefix>` | New bucket path/prefix | - | No |
|
|
230
|
+
| `--use-tls` | Connect to the endpoint over TLS (default true) | - | No |
|
|
231
|
+
| `--no-use-tls` | Set use_tls to false | - | No |
|
|
232
|
+
| `--worker-credentials <json>` | Separate credentials the backup workers use, as JSON (JSON) | - | No |
|
|
233
|
+
| `--secret-key-file <path>` | Read the S3 secret access key from a file (- reads stdin) instead of --secret-key | - | No |
|
|
234
|
+
| `--secret-key-stdin` | Read the S3 secret access key from stdin instead of --secret-key | - | No |
|
|
235
|
+
| `--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 |
|
|
171
236
|
|
|
172
237
|
#### `backups sources remove` (alias: `rm`)
|
|
173
238
|
|
|
@@ -191,6 +256,8 @@ List backups for an S3 source
|
|
|
191
256
|
|------|-------------|---------|----------|
|
|
192
257
|
| `--id <id>` | S3 source ID | - | Yes |
|
|
193
258
|
| `--json` | Output in JSON format | - | No |
|
|
259
|
+
| `--include-s3-scan` | Also list backups found in the bucket that this server has no record of | - | No |
|
|
260
|
+
| `--no-include-s3-scan` | Set include_s3_scan to false | - | No |
|
|
194
261
|
|
|
195
262
|
#### `backups sources run`
|
|
196
263
|
|
|
@@ -211,6 +278,8 @@ List backups for a schedule
|
|
|
211
278
|
| Flag | Description | Default | Required |
|
|
212
279
|
|------|-------------|---------|----------|
|
|
213
280
|
| `--schedule-id <id>` | Schedule ID | - | Yes |
|
|
281
|
+
| `--page <n>` | Page number (default: 1) | - | No |
|
|
282
|
+
| `--page-size <n>` | Items per page (default: 20, max: 100) | - | No |
|
|
214
283
|
| `--json` | Output in JSON format | - | No |
|
|
215
284
|
|
|
216
285
|
### `backups show`
|
|
@@ -261,3 +330,246 @@ Run a backup for an external service
|
|
|
261
330
|
| `--s3-source-id <id>` | S3 source ID to store the backup | - | Yes |
|
|
262
331
|
| `-t, --type <type>` | Backup type (e.g., full, incremental) | - | No |
|
|
263
332
|
| `--confirm-restart` | Allow the backup to restart the database (PostgreSQL with WAL archiving off restarts once to turn it on) | - | No |
|
|
333
|
+
|
|
334
|
+
### `backups list-alerts`
|
|
335
|
+
|
|
336
|
+
List open backup alerts
|
|
337
|
+
|
|
338
|
+
**Options:**
|
|
339
|
+
|
|
340
|
+
| Flag | Description | Default | Required |
|
|
341
|
+
|------|-------------|---------|----------|
|
|
342
|
+
| `--json` | Output in JSON format | - | No |
|
|
343
|
+
|
|
344
|
+
### `backups get-external-service-capability`
|
|
345
|
+
|
|
346
|
+
Report whether an existing service can produce a Cloud-restorable backup
|
|
347
|
+
|
|
348
|
+
**Usage:** `backups get-external-service-capability <id> [options]`
|
|
349
|
+
|
|
350
|
+
**Options:**
|
|
351
|
+
|
|
352
|
+
| Flag | Description | Default | Required |
|
|
353
|
+
|------|-------------|---------|----------|
|
|
354
|
+
| `--json` | Output in JSON format | - | No |
|
|
355
|
+
|
|
356
|
+
### `backups list-external-service`
|
|
357
|
+
|
|
358
|
+
List all backups for a specific external service (DB-only, no S3 scan)
|
|
359
|
+
|
|
360
|
+
**Usage:** `backups list-external-service <service-id> [options]`
|
|
361
|
+
|
|
362
|
+
**Options:**
|
|
363
|
+
|
|
364
|
+
| Flag | Description | Default | Required |
|
|
365
|
+
|------|-------------|---------|----------|
|
|
366
|
+
| `--page <n>` | Page number (1-based) | - | No |
|
|
367
|
+
| `--page-size <n>` | Items per page | - | No |
|
|
368
|
+
| `--json` | Output in JSON format | - | No |
|
|
369
|
+
|
|
370
|
+
### `backups list-service-schedules`
|
|
371
|
+
|
|
372
|
+
List the schedules that target a specific external service
|
|
373
|
+
|
|
374
|
+
**Usage:** `backups list-service-schedules <service-id> [options]`
|
|
375
|
+
|
|
376
|
+
**Options:**
|
|
377
|
+
|
|
378
|
+
| Flag | Description | Default | Required |
|
|
379
|
+
|------|-------------|---------|----------|
|
|
380
|
+
| `--json` | Output in JSON format | - | No |
|
|
381
|
+
|
|
382
|
+
### `backups test-s3-connection-preview`
|
|
383
|
+
|
|
384
|
+
Test S3 connectivity against a prospective source configuration (before creating it)
|
|
385
|
+
|
|
386
|
+
**Options:**
|
|
387
|
+
|
|
388
|
+
| Flag | Description | Default | Required |
|
|
389
|
+
|------|-------------|---------|----------|
|
|
390
|
+
| `--access-key-id <value>` | Access key ID of the bucket's credentials, for example 'AKIA...' on AWS [required] | - | No |
|
|
391
|
+
| `--backing-service-id <n>` | Managed RustFS/S3 service that supplies this destination | - | No |
|
|
392
|
+
| `--bucket-name <value>` | Body field bucket_name [required] | - | No |
|
|
393
|
+
| `--bucket-path <value>` | Body field bucket_path [required] | - | No |
|
|
394
|
+
| `--endpoint <value>` | Optional endpoint for S3-compatible services like MinIO or RustFS, with or without a scheme | - | No |
|
|
395
|
+
| `--force-path-style` | Whether to use path-style addressing (default: true) | - | No |
|
|
396
|
+
| `--no-force-path-style` | Set force_path_style to false | - | No |
|
|
397
|
+
| `--is-default` | When true, make this the default source (will swap out any existing default) | - | No |
|
|
398
|
+
| `--no-is-default` | Set is_default to false | - | No |
|
|
399
|
+
| `--name <value>` | Body field name [required] | - | No |
|
|
400
|
+
| `--region <value>` | Body field region [required] | - | No |
|
|
401
|
+
| `--secret-key-stdin` | Secret access key that goes with the access key ID [required] (read from stdin) | - | No |
|
|
402
|
+
| `--secret-key-file <path>` | Secret access key that goes with the access key ID [required] (read from a file) | - | No |
|
|
403
|
+
| `--use-tls` | Whether the endpoint is reached over TLS | - | No |
|
|
404
|
+
| `--no-use-tls` | Set use_tls to false | - | No |
|
|
405
|
+
| `--worker-credentials <value>` | What a worker node may receive from an S3 source (ADR-102) (one of: scoped, allow_full) | - | No |
|
|
406
|
+
| `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
|
|
407
|
+
| `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
|
|
408
|
+
| `--json` | Output in JSON format | - | No |
|
|
409
|
+
|
|
410
|
+
### `backups set-default-s3-source`
|
|
411
|
+
|
|
412
|
+
Mark an S3 source as the default
|
|
413
|
+
|
|
414
|
+
**Usage:** `backups set-default-s3-source <id> [options]`
|
|
415
|
+
|
|
416
|
+
**Options:**
|
|
417
|
+
|
|
418
|
+
| Flag | Description | Default | Required |
|
|
419
|
+
|------|-------------|---------|----------|
|
|
420
|
+
| `--json` | Output in JSON format | - | No |
|
|
421
|
+
|
|
422
|
+
### `backups test-s3-source-connection`
|
|
423
|
+
|
|
424
|
+
Test connectivity to an existing S3 source using its stored credentials
|
|
425
|
+
|
|
426
|
+
**Usage:** `backups test-s3-source-connection <id> [options]`
|
|
427
|
+
|
|
428
|
+
**Options:**
|
|
429
|
+
|
|
430
|
+
| Flag | Description | Default | Required |
|
|
431
|
+
|------|-------------|---------|----------|
|
|
432
|
+
| `--json` | Output in JSON format | - | No |
|
|
433
|
+
|
|
434
|
+
### `backups cancel-schedule-run`
|
|
435
|
+
|
|
436
|
+
Cancel every non-terminal child backup belonging to a schedule run
|
|
437
|
+
|
|
438
|
+
**Usage:** `backups cancel-schedule-run <id> [options]`
|
|
439
|
+
|
|
440
|
+
**Options:**
|
|
441
|
+
|
|
442
|
+
| Flag | Description | Default | Required |
|
|
443
|
+
|------|-------------|---------|----------|
|
|
444
|
+
| `-y, --yes` | Do not ask for confirmation | - | No |
|
|
445
|
+
| `--json` | Output in JSON format | - | No |
|
|
446
|
+
|
|
447
|
+
### `backups list-schedule-run-jobs`
|
|
448
|
+
|
|
449
|
+
List the individual backup jobs for a single scheduler run
|
|
450
|
+
|
|
451
|
+
**Usage:** `backups list-schedule-run-jobs <id> [options]`
|
|
452
|
+
|
|
453
|
+
**Options:**
|
|
454
|
+
|
|
455
|
+
| Flag | Description | Default | Required |
|
|
456
|
+
|------|-------------|---------|----------|
|
|
457
|
+
| `--json` | Output in JSON format | - | No |
|
|
458
|
+
|
|
459
|
+
### `backups update-schedule`
|
|
460
|
+
|
|
461
|
+
Update a backup schedule (partial update)
|
|
462
|
+
|
|
463
|
+
**Usage:** `backups update-schedule <id> [options]`
|
|
464
|
+
|
|
465
|
+
**Options:**
|
|
466
|
+
|
|
467
|
+
| Flag | Description | Default | Required |
|
|
468
|
+
|------|-------------|---------|----------|
|
|
469
|
+
| `--description <value>` | New human-readable description | - | No |
|
|
470
|
+
| `--enabled` | Enable or disable the schedule | - | No |
|
|
471
|
+
| `--no-enabled` | Set enabled to false | - | No |
|
|
472
|
+
| `--include-control-plane` | Toggle whether the control-plane backup is produced on every run | - | No |
|
|
473
|
+
| `--no-include-control-plane` | Set include_control_plane to false | - | No |
|
|
474
|
+
| `--max-runtime-secs <n>` | Per-schedule wall-clock timeout override (seconds) | - | No |
|
|
475
|
+
| `--name <value>` | New schedule name | - | No |
|
|
476
|
+
| `--retention-period <n>` | Days to retain backups produced by this schedule | - | No |
|
|
477
|
+
| `--schedule-expression <value>` | New cron expression with a leading seconds field ('sec min hour day-of-month month day-of-week', e.g. '0 0... | - | No |
|
|
478
|
+
| `--service-ids <n>` | Replace the explicit external-service selection atomically with the schedule update (repeatable) | - | No |
|
|
479
|
+
| `--tags <value>` | Replace the full tag list (repeatable) | - | No |
|
|
480
|
+
| `--target-all-services` | Toggle between "back up every database" ('true') and "back up only the explicit list" ('false') | - | No |
|
|
481
|
+
| `--no-target-all-services` | Set target_all_services to false | - | No |
|
|
482
|
+
| `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
|
|
483
|
+
| `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
|
|
484
|
+
| `--json` | Output in JSON format | - | No |
|
|
485
|
+
|
|
486
|
+
### `backups run-schedule-now`
|
|
487
|
+
|
|
488
|
+
Immediately fan-out a run for the given schedule (Run Now)
|
|
489
|
+
|
|
490
|
+
**Usage:** `backups run-schedule-now <id> [options]`
|
|
491
|
+
|
|
492
|
+
**Options:**
|
|
493
|
+
|
|
494
|
+
| Flag | Description | Default | Required |
|
|
495
|
+
|------|-------------|---------|----------|
|
|
496
|
+
| `--json` | Output in JSON format | - | No |
|
|
497
|
+
|
|
498
|
+
### `backups list-schedule-runs`
|
|
499
|
+
|
|
500
|
+
Paginated run history for a backup schedule (one row per scheduler tick)
|
|
501
|
+
|
|
502
|
+
**Usage:** `backups list-schedule-runs <id> [options]`
|
|
503
|
+
|
|
504
|
+
**Options:**
|
|
505
|
+
|
|
506
|
+
| Flag | Description | Default | Required |
|
|
507
|
+
|------|-------------|---------|----------|
|
|
508
|
+
| `--page <n>` | Page number (1-based, defaults to 1, clamped to 1 if < 1) | - | No |
|
|
509
|
+
| `--page-size <n>` | Items per page (defaults to 20, clamped to 100 if > 100) | - | No |
|
|
510
|
+
| `--json` | Output in JSON format | - | No |
|
|
511
|
+
|
|
512
|
+
### `backups list-schedule-services`
|
|
513
|
+
|
|
514
|
+
List the external services attached to a backup schedule
|
|
515
|
+
|
|
516
|
+
**Usage:** `backups list-schedule-services <id> [options]`
|
|
517
|
+
|
|
518
|
+
**Options:**
|
|
519
|
+
|
|
520
|
+
| Flag | Description | Default | Required |
|
|
521
|
+
|------|-------------|---------|----------|
|
|
522
|
+
| `--json` | Output in JSON format | - | No |
|
|
523
|
+
|
|
524
|
+
### `backups attach-schedule-services`
|
|
525
|
+
|
|
526
|
+
Attach one or more external services to a backup schedule
|
|
527
|
+
|
|
528
|
+
**Usage:** `backups attach-schedule-services <id> [options]`
|
|
529
|
+
|
|
530
|
+
**Options:**
|
|
531
|
+
|
|
532
|
+
| Flag | Description | Default | Required |
|
|
533
|
+
|------|-------------|---------|----------|
|
|
534
|
+
| `--service-ids <n>` | External service ids to attach (repeatable) [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
|
+
### `backups detach-schedule-service`
|
|
540
|
+
|
|
541
|
+
Detach a single external service from a backup schedule
|
|
542
|
+
|
|
543
|
+
**Usage:** `backups detach-schedule-service <id> <service-id> [options]`
|
|
544
|
+
|
|
545
|
+
**Options:**
|
|
546
|
+
|
|
547
|
+
| Flag | Description | Default | Required |
|
|
548
|
+
|------|-------------|---------|----------|
|
|
549
|
+
| `-y, --yes` | Do not ask for confirmation | - | No |
|
|
550
|
+
| `--json` | Output in JSON format | - | No |
|
|
551
|
+
|
|
552
|
+
### `backups cancel`
|
|
553
|
+
|
|
554
|
+
Cancel a single in-flight backup
|
|
555
|
+
|
|
556
|
+
**Usage:** `backups cancel <id> [options]`
|
|
557
|
+
|
|
558
|
+
**Options:**
|
|
559
|
+
|
|
560
|
+
| Flag | Description | Default | Required |
|
|
561
|
+
|------|-------------|---------|----------|
|
|
562
|
+
| `-y, --yes` | Do not ask for confirmation | - | No |
|
|
563
|
+
| `--json` | Output in JSON format | - | No |
|
|
564
|
+
|
|
565
|
+
### `backups list-children`
|
|
566
|
+
|
|
567
|
+
List the external-service child backups that belong to a parent backup
|
|
568
|
+
|
|
569
|
+
**Usage:** `backups list-children <id> [options]`
|
|
570
|
+
|
|
571
|
+
**Options:**
|
|
572
|
+
|
|
573
|
+
| Flag | Description | Default | Required |
|
|
574
|
+
|------|-------------|---------|----------|
|
|
575
|
+
| `--json` | Output in JSON format | - | No |
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
<!-- Generated from skills/temps-cli/references/COMMANDS.md. Do not edit manually. -->
|
|
2
|
+
|
|
3
|
+
# `blob` command reference
|
|
4
|
+
|
|
5
|
+
Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing a command. Runtime `--help` is authoritative.
|
|
6
|
+
|
|
7
|
+
## `blob`
|
|
8
|
+
|
|
9
|
+
Upload, download and list a project's files in Blob storage, and manage the Blob service
|
|
10
|
+
|
|
11
|
+
**Subcommands:**
|
|
12
|
+
|
|
13
|
+
- `list` (`ls`) - List blobs, optionally under a pathname prefix
|
|
14
|
+
- `put` (`upload`) - Upload a local file
|
|
15
|
+
- `get` (`download`) - Download a blob to a file, or to stdout with -o -
|
|
16
|
+
- `head` (`stat`) - Show a blob's metadata (size, content type, last modified) without downloading it
|
|
17
|
+
- `copy` (`cp`) - Copy a blob (by pathname or URL) to a new pathname
|
|
18
|
+
- `del` (`delete`) - Delete one or more blobs
|
|
19
|
+
- `status` - Show whether the Blob service is enabled and healthy on this instance
|
|
20
|
+
- `enable` - Enable the Blob service on this instance (starts its S3-compatible container)
|
|
21
|
+
- `update` - Change the Docker image the Blob service runs (recreates its container)
|
|
22
|
+
- `disable` - Disable the Blob service on this instance (stops its container; every project loses Blob access)
|
|
23
|
+
- `container-name` - Show, or set with --container-name/--reset, the Docker container name of the Blob service
|
|
24
|
+
|
|
25
|
+
### `blob list` (alias: `ls`)
|
|
26
|
+
|
|
27
|
+
List blobs, optionally under a pathname prefix
|
|
28
|
+
|
|
29
|
+
**Usage:** `blob list [prefix] [options]`
|
|
30
|
+
|
|
31
|
+
**Options:**
|
|
32
|
+
|
|
33
|
+
| Flag | Description | Default | Required |
|
|
34
|
+
|------|-------------|---------|----------|
|
|
35
|
+
| `-p, --project <slug-or-id>` | Project slug or ID (defaults to the linked project) | - | No |
|
|
36
|
+
| `--limit <n>` | Blobs per page | - | No |
|
|
37
|
+
| `--cursor <token>` | Continue from the cursor a previous page returned | - | No |
|
|
38
|
+
| `--all` | Follow cursors to list everything (at most 100 pages) | - | No |
|
|
39
|
+
| `--json` | Output in JSON format | - | No |
|
|
40
|
+
|
|
41
|
+
### `blob put` (alias: `upload`)
|
|
42
|
+
|
|
43
|
+
Upload a local file
|
|
44
|
+
|
|
45
|
+
**Usage:** `blob put <file> [options]`
|
|
46
|
+
|
|
47
|
+
**Options:**
|
|
48
|
+
|
|
49
|
+
| Flag | Description | Default | Required |
|
|
50
|
+
|------|-------------|---------|----------|
|
|
51
|
+
| `-p, --project <slug-or-id>` | Project slug or ID (defaults to the linked project) | - | No |
|
|
52
|
+
| `--pathname <path>` | Where to store it (default: the file name) | - | No |
|
|
53
|
+
| `--content-type <type>` | Content type (default: guessed from the extension) | - | No |
|
|
54
|
+
| `--random-suffix` | Add a random suffix to the pathname so it never overwrites | - | No |
|
|
55
|
+
| `--json` | Output in JSON format | - | No |
|
|
56
|
+
|
|
57
|
+
### `blob get` (alias: `download`)
|
|
58
|
+
|
|
59
|
+
Download a blob to a file, or to stdout with -o -
|
|
60
|
+
|
|
61
|
+
**Usage:** `blob get <pathname> [options]`
|
|
62
|
+
|
|
63
|
+
**Options:**
|
|
64
|
+
|
|
65
|
+
| Flag | Description | Default | Required |
|
|
66
|
+
|------|-------------|---------|----------|
|
|
67
|
+
| `-p, --project <slug-or-id>` | Project slug or ID (defaults to the linked project) | - | No |
|
|
68
|
+
| `-o, --output <path>` | Where to write it (default: its file name in this directory; - for stdout) | - | No |
|
|
69
|
+
|
|
70
|
+
### `blob head` (alias: `stat`)
|
|
71
|
+
|
|
72
|
+
Show a blob's metadata (size, content type, last modified) without downloading it
|
|
73
|
+
|
|
74
|
+
**Usage:** `blob head <pathname> [options]`
|
|
75
|
+
|
|
76
|
+
**Options:**
|
|
77
|
+
|
|
78
|
+
| Flag | Description | Default | Required |
|
|
79
|
+
|------|-------------|---------|----------|
|
|
80
|
+
| `-p, --project <slug-or-id>` | Project slug or ID (defaults to the linked project) | - | No |
|
|
81
|
+
| `--json` | Output in JSON format | - | No |
|
|
82
|
+
|
|
83
|
+
### `blob copy` (alias: `cp`)
|
|
84
|
+
|
|
85
|
+
Copy a blob (by pathname or URL) to a new pathname
|
|
86
|
+
|
|
87
|
+
**Usage:** `blob copy <from> <to> [options]`
|
|
88
|
+
|
|
89
|
+
**Options:**
|
|
90
|
+
|
|
91
|
+
| Flag | Description | Default | Required |
|
|
92
|
+
|------|-------------|---------|----------|
|
|
93
|
+
| `-p, --project <slug-or-id>` | Project slug or ID (defaults to the linked project) | - | No |
|
|
94
|
+
| `--json` | Output in JSON format | - | No |
|
|
95
|
+
|
|
96
|
+
### `blob del` (alias: `delete`)
|
|
97
|
+
|
|
98
|
+
Delete one or more blobs
|
|
99
|
+
|
|
100
|
+
**Usage:** `blob del <pathnames...> [options]`
|
|
101
|
+
|
|
102
|
+
**Options:**
|
|
103
|
+
|
|
104
|
+
| Flag | Description | Default | Required |
|
|
105
|
+
|------|-------------|---------|----------|
|
|
106
|
+
| `-p, --project <slug-or-id>` | Project slug or ID (defaults to the linked project) | - | No |
|
|
107
|
+
| `-y, --yes` | Do not ask for confirmation | - | No |
|
|
108
|
+
| `--json` | Output in JSON format | - | No |
|
|
109
|
+
|
|
110
|
+
### `blob status`
|
|
111
|
+
|
|
112
|
+
Show whether the Blob service is enabled and healthy on this instance
|
|
113
|
+
|
|
114
|
+
**Options:**
|
|
115
|
+
|
|
116
|
+
| Flag | Description | Default | Required |
|
|
117
|
+
|------|-------------|---------|----------|
|
|
118
|
+
| `--json` | Output in JSON format | - | No |
|
|
119
|
+
|
|
120
|
+
### `blob enable`
|
|
121
|
+
|
|
122
|
+
Enable the Blob service on this instance (starts its S3-compatible container)
|
|
123
|
+
|
|
124
|
+
**Options:**
|
|
125
|
+
|
|
126
|
+
| Flag | Description | Default | Required |
|
|
127
|
+
|------|-------------|---------|----------|
|
|
128
|
+
| `--image <ref>` | Docker image to run (default: the one this Temps release pins) | - | No |
|
|
129
|
+
| `--root-user <user>` | Root user for S3 access (default: generated) | - | No |
|
|
130
|
+
| `--root-password <password>` | Root password for S3 access (prefer --root-password-stdin) | - | No |
|
|
131
|
+
| `--json` | Output in JSON format | - | No |
|
|
132
|
+
| `--root-password-file <path>` | Read the root password from a file (- reads stdin) instead of --root-password | - | No |
|
|
133
|
+
| `--root-password-stdin` | Read the root password from stdin instead of --root-password | - | No |
|
|
134
|
+
| `--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 |
|
|
135
|
+
|
|
136
|
+
### `blob update`
|
|
137
|
+
|
|
138
|
+
Change the Docker image the Blob service runs (recreates its container)
|
|
139
|
+
|
|
140
|
+
**Options:**
|
|
141
|
+
|
|
142
|
+
| Flag | Description | Default | Required |
|
|
143
|
+
|------|-------------|---------|----------|
|
|
144
|
+
| `--image <ref>` | Docker image to run | - | Yes |
|
|
145
|
+
| `-y, --yes` | Do not ask for confirmation | - | No |
|
|
146
|
+
| `--json` | Output in JSON format | - | No |
|
|
147
|
+
|
|
148
|
+
### `blob disable`
|
|
149
|
+
|
|
150
|
+
Disable the Blob service on this instance (stops its container; every project loses Blob access)
|
|
151
|
+
|
|
152
|
+
**Options:**
|
|
153
|
+
|
|
154
|
+
| Flag | Description | Default | Required |
|
|
155
|
+
|------|-------------|---------|----------|
|
|
156
|
+
| `-y, --yes` | Do not ask for confirmation | - | No |
|
|
157
|
+
| `--json` | Output in JSON format | - | No |
|
|
158
|
+
|
|
159
|
+
### `blob container-name`
|
|
160
|
+
|
|
161
|
+
Show, or set with --container-name/--reset, the Docker container name of the Blob service
|
|
162
|
+
|
|
163
|
+
**Options:**
|
|
164
|
+
|
|
165
|
+
| Flag | Description | Default | Required |
|
|
166
|
+
|------|-------------|---------|----------|
|
|
167
|
+
| `--container-name <name>` | New container name (must keep the required prefix) | - | No |
|
|
168
|
+
| `--reset` | Go back to the default container name | - | No |
|
|
169
|
+
| `--json` | Output in JSON format | - | No |
|