@temps-sdk/cli 0.1.37 → 0.1.38
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/dist/index.js +14295 -25419
- package/dist/skills/temps/SKILL.md +140 -0
- package/dist/skills/temps/agents/openai.yaml +7 -0
- package/dist/skills/temps/evals/evals.json +95 -0
- package/dist/skills/temps/howtos/backup-recovery.md +41 -0
- package/dist/skills/temps/howtos/ci-automation.md +18 -0
- package/dist/skills/temps/howtos/deploy-application.md +29 -0
- package/dist/skills/temps/howtos/diagnose-deployment.md +17 -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 +49 -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 +68 -0
- package/dist/skills/temps/references/commands/INDEX.md +97 -0
- package/dist/skills/temps/references/commands/access.md +49 -0
- package/dist/skills/temps/references/commands/ai.md +43 -0
- package/dist/skills/temps/references/commands/alarms.md +87 -0
- package/dist/skills/temps/references/commands/analytics.md +369 -0
- package/dist/skills/temps/references/commands/apikeys.md +96 -0
- package/dist/skills/temps/references/commands/audit.md +41 -0
- package/dist/skills/temps/references/commands/backups.md +263 -0
- package/dist/skills/temps/references/commands/cloud.md +371 -0
- package/dist/skills/temps/references/commands/cluster.md +31 -0
- package/dist/skills/temps/references/commands/configure.md +55 -0
- package/dist/skills/temps/references/commands/containers.md +110 -0
- package/dist/skills/temps/references/commands/context.md +49 -0
- package/dist/skills/temps/references/commands/custom-domains.md +98 -0
- package/dist/skills/temps/references/commands/data.md +90 -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 +21 -0
- package/dist/skills/temps/references/commands/deployments.md +172 -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 +187 -0
- package/dist/skills/temps/references/commands/drop.md +21 -0
- package/dist/skills/temps/references/commands/dsn.md +84 -0
- package/dist/skills/temps/references/commands/email-domains.md +160 -0
- package/dist/skills/temps/references/commands/email-providers.md +91 -0
- package/dist/skills/temps/references/commands/emails.md +79 -0
- package/dist/skills/temps/references/commands/env-pull.md +16 -0
- package/dist/skills/temps/references/commands/env-push.md +17 -0
- package/dist/skills/temps/references/commands/environments.md +252 -0
- package/dist/skills/temps/references/commands/errors.md +250 -0
- package/dist/skills/temps/references/commands/facets.md +57 -0
- package/dist/skills/temps/references/commands/flags.md +143 -0
- package/dist/skills/temps/references/commands/funnels.md +92 -0
- package/dist/skills/temps/references/commands/incidents.md +111 -0
- package/dist/skills/temps/references/commands/init.md +16 -0
- package/dist/skills/temps/references/commands/instances.md +56 -0
- package/dist/skills/temps/references/commands/instantiations.md +53 -0
- package/dist/skills/temps/references/commands/ip-access.md +153 -0
- package/dist/skills/temps/references/commands/link.md +15 -0
- package/dist/skills/temps/references/commands/load-balancer.md +73 -0
- package/dist/skills/temps/references/commands/login.md +17 -0
- package/dist/skills/temps/references/commands/logout.md +16 -0
- package/dist/skills/temps/references/commands/logs.md +167 -0
- package/dist/skills/temps/references/commands/mcp-servers.md +70 -0
- package/dist/skills/temps/references/commands/mcp.md +65 -0
- package/dist/skills/temps/references/commands/metrics.md +79 -0
- package/dist/skills/temps/references/commands/migrate.md +109 -0
- package/dist/skills/temps/references/commands/monitors.md +92 -0
- package/dist/skills/temps/references/commands/nodes.md +200 -0
- package/dist/skills/temps/references/commands/notification-preferences.md +47 -0
- package/dist/skills/temps/references/commands/notifications.md +211 -0
- package/dist/skills/temps/references/commands/open.md +17 -0
- package/dist/skills/temps/references/commands/otel-forward.md +210 -0
- package/dist/skills/temps/references/commands/otel.md +38 -0
- package/dist/skills/temps/references/commands/platform.md +147 -0
- package/dist/skills/temps/references/commands/plugin.md +193 -0
- package/dist/skills/temps/references/commands/presets.md +35 -0
- package/dist/skills/temps/references/commands/project-groups.md +255 -0
- package/dist/skills/temps/references/commands/projects.md +270 -0
- package/dist/skills/temps/references/commands/providers.md +277 -0
- package/dist/skills/temps/references/commands/proxy-logs.md +85 -0
- package/dist/skills/temps/references/commands/revenue.md +48 -0
- package/dist/skills/temps/references/commands/rollback.md +18 -0
- package/dist/skills/temps/references/commands/runtime-logs.md +21 -0
- package/dist/skills/temps/references/commands/sandbox.md +428 -0
- package/dist/skills/temps/references/commands/scans.md +113 -0
- package/dist/skills/temps/references/commands/secrets.md +65 -0
- package/dist/skills/temps/references/commands/server.md +50 -0
- package/dist/skills/temps/references/commands/services.md +636 -0
- package/dist/skills/temps/references/commands/session-replay.md +76 -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 +87 -0
- package/dist/skills/temps/references/commands/start.md +20 -0
- package/dist/skills/temps/references/commands/status-pages.md +188 -0
- package/dist/skills/temps/references/commands/status.md +17 -0
- package/dist/skills/temps/references/commands/stop.md +16 -0
- package/dist/skills/temps/references/commands/teams.md +129 -0
- package/dist/skills/temps/references/commands/templates.md +61 -0
- package/dist/skills/temps/references/commands/tokens.md +77 -0
- package/dist/skills/temps/references/commands/traces.md +42 -0
- package/dist/skills/temps/references/commands/traefik-discovery.md +113 -0
- package/dist/skills/temps/references/commands/up.md +25 -0
- package/dist/skills/temps/references/commands/users.md +99 -0
- package/dist/skills/temps/references/commands/webhooks.md +165 -0
- package/dist/skills/temps/references/commands/whoami.md +15 -0
- package/dist/skills/temps/references/commands/workflow.md +42 -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 +154 -0
- 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
- 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 +84 -0
- package/dist/skills/temps/scripts/validate_skill.py +111 -0
- package/package.json +2 -2
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
<!-- Generated from skills/temps-cli/references/COMMANDS.md. Do not edit manually. -->
|
|
2
|
+
|
|
3
|
+
# `deployments` command reference
|
|
4
|
+
|
|
5
|
+
Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing a command. Runtime `--help` is authoritative.
|
|
6
|
+
|
|
7
|
+
## `deployments` (alias: `deploys`)
|
|
8
|
+
|
|
9
|
+
Manage deployments
|
|
10
|
+
|
|
11
|
+
**Subcommands:**
|
|
12
|
+
|
|
13
|
+
- `list` (`ls`) - List deployments
|
|
14
|
+
- `status` - Show deployment status
|
|
15
|
+
- `rollback` - Rollback to previous deployment
|
|
16
|
+
- `cancel` - Cancel a running deployment
|
|
17
|
+
- `pause` - Pause a deployment
|
|
18
|
+
- `resume` - Resume a paused deployment
|
|
19
|
+
- `teardown` - Teardown a deployment and remove all resources
|
|
20
|
+
- `logs` - Show deployment build logs
|
|
21
|
+
- `container-logs` - Show live container logs, including retained failed deployments
|
|
22
|
+
- `failure-report` - Preview or send a redacted deploy-failure trace
|
|
23
|
+
|
|
24
|
+
### `deployments list` (alias: `ls`)
|
|
25
|
+
|
|
26
|
+
List deployments
|
|
27
|
+
|
|
28
|
+
**Options:**
|
|
29
|
+
|
|
30
|
+
| Flag | Description | Default | Required |
|
|
31
|
+
|------|-------------|---------|----------|
|
|
32
|
+
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
33
|
+
| `-e, --environment <env>` | Filter by environment name (client-side) | - | No |
|
|
34
|
+
| `--environment-id <id>` | Filter by environment ID (server-side) | - | No |
|
|
35
|
+
| `-n, --limit <number>` | Limit results | `10` | No |
|
|
36
|
+
| `--page <n>` | Page number | - | No |
|
|
37
|
+
| `--per-page <n>` | Items per page | - | No |
|
|
38
|
+
| `--json` | Output in JSON format | - | No |
|
|
39
|
+
|
|
40
|
+
### `deployments status`
|
|
41
|
+
|
|
42
|
+
Show deployment status
|
|
43
|
+
|
|
44
|
+
**Options:**
|
|
45
|
+
|
|
46
|
+
| Flag | Description | Default | Required |
|
|
47
|
+
|------|-------------|---------|----------|
|
|
48
|
+
| `-p, --project <project>` | Project slug or ID (defaults to the linked project) | - | No |
|
|
49
|
+
| `-d, --deployment-id <id>` | Deployment ID | - | Yes |
|
|
50
|
+
| `--json` | Output in JSON format | - | No |
|
|
51
|
+
|
|
52
|
+
### `deployments rollback`
|
|
53
|
+
|
|
54
|
+
Rollback to previous deployment
|
|
55
|
+
|
|
56
|
+
**Options:**
|
|
57
|
+
|
|
58
|
+
| Flag | Description | Default | Required |
|
|
59
|
+
|------|-------------|---------|----------|
|
|
60
|
+
| `-p, --project <project>` | Project slug or ID (defaults to the linked project) | - | No |
|
|
61
|
+
| `-e, --environment <env>` | Target environment | `production` | No |
|
|
62
|
+
| `--to <deployment>` | Rollback to specific deployment ID | - | No |
|
|
63
|
+
|
|
64
|
+
### `deployments cancel`
|
|
65
|
+
|
|
66
|
+
Cancel a running deployment
|
|
67
|
+
|
|
68
|
+
**Options:**
|
|
69
|
+
|
|
70
|
+
| Flag | Description | Default | Required |
|
|
71
|
+
|------|-------------|---------|----------|
|
|
72
|
+
| `-p, --project-id <id>` | Project ID | - | Yes |
|
|
73
|
+
| `-d, --deployment-id <id>` | Deployment ID | - | Yes |
|
|
74
|
+
| `-f, --force` | Skip confirmation | - | No |
|
|
75
|
+
|
|
76
|
+
### `deployments pause`
|
|
77
|
+
|
|
78
|
+
Pause a deployment
|
|
79
|
+
|
|
80
|
+
**Options:**
|
|
81
|
+
|
|
82
|
+
| Flag | Description | Default | Required |
|
|
83
|
+
|------|-------------|---------|----------|
|
|
84
|
+
| `-p, --project-id <id>` | Project ID | - | Yes |
|
|
85
|
+
| `-d, --deployment-id <id>` | Deployment ID | - | Yes |
|
|
86
|
+
|
|
87
|
+
### `deployments resume`
|
|
88
|
+
|
|
89
|
+
Resume a paused deployment
|
|
90
|
+
|
|
91
|
+
**Options:**
|
|
92
|
+
|
|
93
|
+
| Flag | Description | Default | Required |
|
|
94
|
+
|------|-------------|---------|----------|
|
|
95
|
+
| `-p, --project-id <id>` | Project ID | - | Yes |
|
|
96
|
+
| `-d, --deployment-id <id>` | Deployment ID | - | Yes |
|
|
97
|
+
|
|
98
|
+
### `deployments teardown`
|
|
99
|
+
|
|
100
|
+
Teardown a deployment and remove all resources
|
|
101
|
+
|
|
102
|
+
**Options:**
|
|
103
|
+
|
|
104
|
+
| Flag | Description | Default | Required |
|
|
105
|
+
|------|-------------|---------|----------|
|
|
106
|
+
| `-p, --project-id <id>` | Project ID | - | Yes |
|
|
107
|
+
| `-d, --deployment-id <id>` | Deployment ID | - | Yes |
|
|
108
|
+
| `-f, --force` | Skip confirmation | - | No |
|
|
109
|
+
|
|
110
|
+
### `deployments logs`
|
|
111
|
+
|
|
112
|
+
Show deployment build logs
|
|
113
|
+
|
|
114
|
+
**Options:**
|
|
115
|
+
|
|
116
|
+
| Flag | Description | Default | Required |
|
|
117
|
+
|------|-------------|---------|----------|
|
|
118
|
+
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
119
|
+
| `-e, --environment <env>` | Environment | `production` | No |
|
|
120
|
+
| `-f, --follow` | Follow log output | - | No |
|
|
121
|
+
| `-n, --lines <number>` | Number of lines to show | `100` | No |
|
|
122
|
+
| `-d, --deployment <id>` | Specific deployment ID | - | No |
|
|
123
|
+
|
|
124
|
+
### `deployments container-logs`
|
|
125
|
+
|
|
126
|
+
Show live container logs, including retained failed deployments
|
|
127
|
+
|
|
128
|
+
**Options:**
|
|
129
|
+
|
|
130
|
+
| Flag | Description | Default | Required |
|
|
131
|
+
|------|-------------|---------|----------|
|
|
132
|
+
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
133
|
+
| `-e, --environment <env>` | Environment | `production` | No |
|
|
134
|
+
| `-d, --deployment <id>` | Deployment ID | - | Yes |
|
|
135
|
+
| `-c, --container <id>` | Container ID or name (partial match supported) | - | No |
|
|
136
|
+
| `-n, --tail <lines>` | Number of lines to tail | `1000` | No |
|
|
137
|
+
| `-t, --timestamps` | Show timestamps | - | No |
|
|
138
|
+
| `-f, --follow` | Follow log output | - | No |
|
|
139
|
+
|
|
140
|
+
### `deployments failure-report`
|
|
141
|
+
|
|
142
|
+
Preview or send a redacted deploy-failure trace
|
|
143
|
+
|
|
144
|
+
**Subcommands:**
|
|
145
|
+
|
|
146
|
+
- `preview` - Preview the redacted, editable failure-report text for a failed job
|
|
147
|
+
- `send` - Send a failure report to the Temps team. Reads report text from --text-file, or stdin if piped, or defaults to the redacted preview.
|
|
148
|
+
|
|
149
|
+
#### `deployments failure-report preview`
|
|
150
|
+
|
|
151
|
+
Preview the redacted, editable failure-report text for a failed job
|
|
152
|
+
|
|
153
|
+
**Options:**
|
|
154
|
+
|
|
155
|
+
| Flag | Description | Default | Required |
|
|
156
|
+
|------|-------------|---------|----------|
|
|
157
|
+
| `-p, --project-id <id>` | Project ID | - | Yes |
|
|
158
|
+
| `-d, --deployment-id <id>` | Deployment ID | - | Yes |
|
|
159
|
+
| `-j, --job-id <id>` | Failed job ID (see "deployments logs") | - | Yes |
|
|
160
|
+
|
|
161
|
+
#### `deployments failure-report send`
|
|
162
|
+
|
|
163
|
+
Send a failure report to the Temps team. Reads report text from --text-file, or stdin if piped, or defaults to the redacted preview.
|
|
164
|
+
|
|
165
|
+
**Options:**
|
|
166
|
+
|
|
167
|
+
| Flag | Description | Default | Required |
|
|
168
|
+
|------|-------------|---------|----------|
|
|
169
|
+
| `-p, --project-id <id>` | Project ID | - | Yes |
|
|
170
|
+
| `-d, --deployment-id <id>` | Deployment ID | - | Yes |
|
|
171
|
+
| `-j, --job-id <id>` | Failed job ID (see "deployments logs") | - | Yes |
|
|
172
|
+
| `--text-file <path>` | Read the (already-reviewed) report text from a file | - | No |
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
<!-- Generated from skills/temps-cli/references/COMMANDS.md. Do not edit manually. -->
|
|
2
|
+
|
|
3
|
+
# `dns-provider` command reference
|
|
4
|
+
|
|
5
|
+
Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing a command. Runtime `--help` is authoritative.
|
|
6
|
+
|
|
7
|
+
## `dns-provider` (alias: `dnsp`)
|
|
8
|
+
|
|
9
|
+
Manage DNS providers and managed domains
|
|
10
|
+
|
|
11
|
+
**Subcommands:**
|
|
12
|
+
|
|
13
|
+
- `list` (`ls`) - List all DNS providers
|
|
14
|
+
- `create` (`add`) - Create a new DNS provider
|
|
15
|
+
- `show` - Show DNS provider details
|
|
16
|
+
- `update` - Update a DNS provider
|
|
17
|
+
- `remove` (`rm`) - Delete a DNS provider
|
|
18
|
+
- `test` - Test DNS provider connection
|
|
19
|
+
- `zones` - List DNS zones for a provider
|
|
20
|
+
- `domains` - Manage domains associated with a DNS provider
|
|
21
|
+
- `lookup` - Lookup DNS A records for a domain
|
|
22
|
+
|
|
23
|
+
### `dns-provider list` (alias: `ls`)
|
|
24
|
+
|
|
25
|
+
List all DNS providers
|
|
26
|
+
|
|
27
|
+
**Options:**
|
|
28
|
+
|
|
29
|
+
| Flag | Description | Default | Required |
|
|
30
|
+
|------|-------------|---------|----------|
|
|
31
|
+
| `--json` | Output in JSON format | - | No |
|
|
32
|
+
|
|
33
|
+
### `dns-provider create` (alias: `add`)
|
|
34
|
+
|
|
35
|
+
Create a new DNS provider
|
|
36
|
+
|
|
37
|
+
**Options:**
|
|
38
|
+
|
|
39
|
+
| Flag | Description | Default | Required |
|
|
40
|
+
|------|-------------|---------|----------|
|
|
41
|
+
| `-n, --name <name>` | Provider name | - | No |
|
|
42
|
+
| `-t, --type <type>` | Provider type (cloudflare, bunny, route53, digitalocean, namecheap, gcp, azure, manual, pebble) | - | No |
|
|
43
|
+
| `-d, --description <description>` | Provider description | - | No |
|
|
44
|
+
| `--api-token <token>` | API token (Cloudflare, DigitalOcean; prefer --api-token-stdin to keep it out of shell history) | - | No |
|
|
45
|
+
| `--api-token-stdin` | Read the API token from stdin | - | No |
|
|
46
|
+
| `--account-id <id>` | Cloudflare account ID (optional) | - | No |
|
|
47
|
+
| `--access-key-id <key>` | AWS access key ID | - | No |
|
|
48
|
+
| `--secret-access-key <secret>` | AWS secret access key (prefer --secret-access-key-stdin to keep it out of shell history) | - | No |
|
|
49
|
+
| `--secret-access-key-stdin` | Read the AWS secret access key from stdin | - | No |
|
|
50
|
+
| `--region <region>` | AWS region | - | No |
|
|
51
|
+
| `--api-user <user>` | Namecheap API user | - | No |
|
|
52
|
+
| `--api-key <key>` | API key (Bunny, Namecheap; prefer --api-key-stdin to keep it out of shell history) | - | No |
|
|
53
|
+
| `--api-key-stdin` | Read the Bunny or Namecheap API key from stdin | - | No |
|
|
54
|
+
| `--username <username>` | Namecheap username | - | No |
|
|
55
|
+
| `--client-ip <ip>` | Namecheap whitelisted client IP | - | No |
|
|
56
|
+
| `--project-id <id>` | GCP project ID | - | No |
|
|
57
|
+
| `--service-account-email <email>` | GCP service account email | - | No |
|
|
58
|
+
| `--private-key-id <id>` | GCP private key ID | - | No |
|
|
59
|
+
| `--private-key <key>` | GCP private key (prefer --private-key-stdin to keep it out of shell history) | - | No |
|
|
60
|
+
| `--private-key-stdin` | Read the GCP private key from stdin | - | No |
|
|
61
|
+
| `--tenant-id <id>` | Azure tenant ID | - | No |
|
|
62
|
+
| `--client-id <id>` | Azure client ID | - | No |
|
|
63
|
+
| `--client-secret <secret>` | Azure client secret (prefer --client-secret-stdin to keep it out of shell history) | - | No |
|
|
64
|
+
| `--client-secret-stdin` | Read the Azure client secret from stdin | - | No |
|
|
65
|
+
| `--subscription-id <id>` | Azure subscription ID | - | No |
|
|
66
|
+
| `--resource-group <name>` | Azure resource group | - | No |
|
|
67
|
+
| `--management-url <url>` | pebble-challtestsrv management API URL (local ACME test server only) | - | No |
|
|
68
|
+
| `-y, --yes` | Skip confirmation prompts (for automation) | - | No |
|
|
69
|
+
|
|
70
|
+
### `dns-provider show`
|
|
71
|
+
|
|
72
|
+
Show DNS provider details
|
|
73
|
+
|
|
74
|
+
**Options:**
|
|
75
|
+
|
|
76
|
+
| Flag | Description | Default | Required |
|
|
77
|
+
|------|-------------|---------|----------|
|
|
78
|
+
| `--id <id>` | Provider ID | - | Yes |
|
|
79
|
+
| `--json` | Output in JSON format | - | No |
|
|
80
|
+
|
|
81
|
+
### `dns-provider update`
|
|
82
|
+
|
|
83
|
+
Update a DNS provider
|
|
84
|
+
|
|
85
|
+
**Options:**
|
|
86
|
+
|
|
87
|
+
| Flag | Description | Default | Required |
|
|
88
|
+
|------|-------------|---------|----------|
|
|
89
|
+
| `--id <id>` | Provider ID | - | Yes |
|
|
90
|
+
| `-n, --name <name>` | New provider name | - | No |
|
|
91
|
+
| `-d, --description <description>` | New description | - | No |
|
|
92
|
+
| `--api-key <key>` | New API key/token (prefer --api-key-stdin to keep it out of shell history) | - | No |
|
|
93
|
+
| `--api-key-stdin` | Read the new API key/token from stdin | - | No |
|
|
94
|
+
| `--active <boolean>` | Set active status (true/false) | - | No |
|
|
95
|
+
|
|
96
|
+
### `dns-provider remove` (alias: `rm`)
|
|
97
|
+
|
|
98
|
+
Delete a DNS provider
|
|
99
|
+
|
|
100
|
+
**Options:**
|
|
101
|
+
|
|
102
|
+
| Flag | Description | Default | Required |
|
|
103
|
+
|------|-------------|---------|----------|
|
|
104
|
+
| `--id <id>` | Provider ID | - | Yes |
|
|
105
|
+
| `-f, --force` | Skip confirmation | - | No |
|
|
106
|
+
| `-y, --yes` | Skip confirmation prompts (alias for --force) | - | No |
|
|
107
|
+
|
|
108
|
+
### `dns-provider test`
|
|
109
|
+
|
|
110
|
+
Test DNS provider connection
|
|
111
|
+
|
|
112
|
+
**Options:**
|
|
113
|
+
|
|
114
|
+
| Flag | Description | Default | Required |
|
|
115
|
+
|------|-------------|---------|----------|
|
|
116
|
+
| `--id <id>` | Provider ID | - | Yes |
|
|
117
|
+
|
|
118
|
+
### `dns-provider zones`
|
|
119
|
+
|
|
120
|
+
List DNS zones for a provider
|
|
121
|
+
|
|
122
|
+
**Options:**
|
|
123
|
+
|
|
124
|
+
| Flag | Description | Default | Required |
|
|
125
|
+
|------|-------------|---------|----------|
|
|
126
|
+
| `--id <id>` | Provider ID | - | Yes |
|
|
127
|
+
| `--json` | Output in JSON format | - | No |
|
|
128
|
+
|
|
129
|
+
### `dns-provider domains`
|
|
130
|
+
|
|
131
|
+
Manage domains associated with a DNS provider
|
|
132
|
+
|
|
133
|
+
**Subcommands:**
|
|
134
|
+
|
|
135
|
+
- `list` (`ls`) - List managed domains for a provider
|
|
136
|
+
- `add` - Add a managed domain to a provider
|
|
137
|
+
- `remove` (`rm`) - Remove a managed domain from a provider
|
|
138
|
+
- `verify` - Verify a managed domain
|
|
139
|
+
|
|
140
|
+
#### `dns-provider domains list` (alias: `ls`)
|
|
141
|
+
|
|
142
|
+
List managed domains for a provider
|
|
143
|
+
|
|
144
|
+
**Options:**
|
|
145
|
+
|
|
146
|
+
| Flag | Description | Default | Required |
|
|
147
|
+
|------|-------------|---------|----------|
|
|
148
|
+
| `--id <id>` | Provider ID | - | Yes |
|
|
149
|
+
| `--json` | Output in JSON format | - | No |
|
|
150
|
+
|
|
151
|
+
#### `dns-provider domains add`
|
|
152
|
+
|
|
153
|
+
Add a managed domain to a provider
|
|
154
|
+
|
|
155
|
+
**Options:**
|
|
156
|
+
|
|
157
|
+
| Flag | Description | Default | Required |
|
|
158
|
+
|------|-------------|---------|----------|
|
|
159
|
+
| `--id <id>` | Provider ID | - | Yes |
|
|
160
|
+
| `-d, --domain <domain>` | Domain name | - | Yes |
|
|
161
|
+
| `--auto-manage` | Enable auto-management for DNS records | - | No |
|
|
162
|
+
|
|
163
|
+
#### `dns-provider domains remove` (alias: `rm`)
|
|
164
|
+
|
|
165
|
+
Remove a managed domain from a provider
|
|
166
|
+
|
|
167
|
+
**Options:**
|
|
168
|
+
|
|
169
|
+
| Flag | Description | Default | Required |
|
|
170
|
+
|------|-------------|---------|----------|
|
|
171
|
+
| `--provider-id <id>` | Provider ID | - | Yes |
|
|
172
|
+
| `-d, --domain <domain>` | Domain name | - | Yes |
|
|
173
|
+
| `-f, --force` | Skip confirmation | - | No |
|
|
174
|
+
| `-y, --yes` | Skip confirmation prompts (alias for --force) | - | No |
|
|
175
|
+
|
|
176
|
+
#### `dns-provider domains verify`
|
|
177
|
+
|
|
178
|
+
Verify a managed domain
|
|
179
|
+
|
|
180
|
+
**Options:**
|
|
181
|
+
|
|
182
|
+
| Flag | Description | Default | Required |
|
|
183
|
+
|------|-------------|---------|----------|
|
|
184
|
+
| `--provider-id <id>` | Provider ID | - | Yes |
|
|
185
|
+
| `-d, --domain <domain>` | Domain name | - | Yes |
|
|
186
|
+
|
|
187
|
+
### `dns-provider lookup`
|
|
188
|
+
|
|
189
|
+
Lookup DNS A records for a domain
|
|
190
|
+
|
|
191
|
+
**Options:**
|
|
192
|
+
|
|
193
|
+
| Flag | Description | Default | Required |
|
|
194
|
+
|------|-------------|---------|----------|
|
|
195
|
+
| `-d, --domain <domain>` | Domain name to lookup | - | Yes |
|
|
196
|
+
| `--json` | Output in JSON format | - | No |
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
<!-- Generated from skills/temps-cli/references/COMMANDS.md. Do not edit manually. -->
|
|
2
|
+
|
|
3
|
+
# `dns` command reference
|
|
4
|
+
|
|
5
|
+
Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing a command. Runtime `--help` is authoritative.
|
|
6
|
+
|
|
7
|
+
## `dns`
|
|
8
|
+
|
|
9
|
+
Manage DNS providers and Temps-managed DNS records
|
|
10
|
+
|
|
11
|
+
**Subcommands:**
|
|
12
|
+
|
|
13
|
+
- `list` (`ls`) - List configured DNS providers
|
|
14
|
+
- `add` - Add a new DNS provider
|
|
15
|
+
- `show` - Show DNS provider details
|
|
16
|
+
- `remove` (`rm`) - Remove a DNS provider
|
|
17
|
+
- `test` - Test DNS provider connection
|
|
18
|
+
- `zones` - List available zones in a DNS provider
|
|
19
|
+
- `records` (`record`) - Manage A, AAAA and CNAME records on managed domains (ownership-guarded: Temps only changes records it owns)
|
|
20
|
+
|
|
21
|
+
### `dns list` (alias: `ls`)
|
|
22
|
+
|
|
23
|
+
List configured DNS providers
|
|
24
|
+
|
|
25
|
+
**Options:**
|
|
26
|
+
|
|
27
|
+
| Flag | Description | Default | Required |
|
|
28
|
+
|------|-------------|---------|----------|
|
|
29
|
+
| `--json` | Output in JSON format | - | No |
|
|
30
|
+
|
|
31
|
+
### `dns add`
|
|
32
|
+
|
|
33
|
+
Add a new DNS provider
|
|
34
|
+
|
|
35
|
+
**Options:**
|
|
36
|
+
|
|
37
|
+
| Flag | Description | Default | Required |
|
|
38
|
+
|------|-------------|---------|----------|
|
|
39
|
+
| `-t, --type <type>` | Provider type (cloudflare, bunny, route53, digitalocean, namecheap, gcp, azure, manual) | - | No |
|
|
40
|
+
| `-n, --name <name>` | Provider name | - | No |
|
|
41
|
+
| `-d, --description <description>` | Provider description | - | No |
|
|
42
|
+
| `--api-token <token>` | API token (Cloudflare, DigitalOcean; prefer --api-token-stdin to keep it out of shell history) | - | No |
|
|
43
|
+
| `--api-token-stdin` | Read the API token from stdin | - | No |
|
|
44
|
+
| `--account-id <id>` | Cloudflare account ID (optional) | - | No |
|
|
45
|
+
| `--access-key-id <key>` | AWS access key ID | - | No |
|
|
46
|
+
| `--secret-access-key <secret>` | AWS secret access key (prefer --secret-access-key-stdin to keep it out of shell history) | - | No |
|
|
47
|
+
| `--secret-access-key-stdin` | Read the AWS secret access key from stdin | - | No |
|
|
48
|
+
| `--region <region>` | AWS region | - | No |
|
|
49
|
+
| `--api-user <user>` | Namecheap API user | - | No |
|
|
50
|
+
| `--api-key <key>` | API key (Bunny, Namecheap; prefer --api-key-stdin to keep it out of shell history) | - | No |
|
|
51
|
+
| `--api-key-stdin` | Read the Bunny or Namecheap API key from stdin | - | No |
|
|
52
|
+
| `--username <username>` | Namecheap username | - | No |
|
|
53
|
+
| `--client-ip <ip>` | Namecheap whitelisted client IP | - | No |
|
|
54
|
+
| `--project-id <id>` | GCP project ID | - | No |
|
|
55
|
+
| `--service-account-email <email>` | GCP service account email | - | No |
|
|
56
|
+
| `--private-key-id <id>` | GCP private key ID | - | No |
|
|
57
|
+
| `--private-key <key>` | GCP private key (prefer --private-key-stdin to keep it out of shell history) | - | No |
|
|
58
|
+
| `--private-key-stdin` | Read the GCP private key from stdin | - | No |
|
|
59
|
+
| `--tenant-id <id>` | Azure tenant ID | - | No |
|
|
60
|
+
| `--client-id <id>` | Azure client ID | - | No |
|
|
61
|
+
| `--client-secret <secret>` | Azure client secret (prefer --client-secret-stdin to keep it out of shell history) | - | No |
|
|
62
|
+
| `--client-secret-stdin` | Read the Azure client secret from stdin | - | No |
|
|
63
|
+
| `--subscription-id <id>` | Azure subscription ID | - | No |
|
|
64
|
+
| `--resource-group <name>` | Azure resource group | - | No |
|
|
65
|
+
| `-y, --yes` | Skip confirmation prompts (for automation) | - | No |
|
|
66
|
+
|
|
67
|
+
### `dns show`
|
|
68
|
+
|
|
69
|
+
Show DNS provider details
|
|
70
|
+
|
|
71
|
+
**Options:**
|
|
72
|
+
|
|
73
|
+
| Flag | Description | Default | Required |
|
|
74
|
+
|------|-------------|---------|----------|
|
|
75
|
+
| `--id <id>` | Provider ID | - | Yes |
|
|
76
|
+
| `--json` | Output in JSON format | - | No |
|
|
77
|
+
|
|
78
|
+
### `dns remove` (alias: `rm`)
|
|
79
|
+
|
|
80
|
+
Remove a DNS provider
|
|
81
|
+
|
|
82
|
+
**Options:**
|
|
83
|
+
|
|
84
|
+
| Flag | Description | Default | Required |
|
|
85
|
+
|------|-------------|---------|----------|
|
|
86
|
+
| `--id <id>` | Provider ID | - | Yes |
|
|
87
|
+
| `-f, --force` | Skip confirmation | - | No |
|
|
88
|
+
| `-y, --yes` | Skip confirmation (alias for --force) | - | No |
|
|
89
|
+
|
|
90
|
+
### `dns test`
|
|
91
|
+
|
|
92
|
+
Test DNS provider connection
|
|
93
|
+
|
|
94
|
+
**Options:**
|
|
95
|
+
|
|
96
|
+
| Flag | Description | Default | Required |
|
|
97
|
+
|------|-------------|---------|----------|
|
|
98
|
+
| `--id <id>` | Provider ID | - | Yes |
|
|
99
|
+
|
|
100
|
+
### `dns zones`
|
|
101
|
+
|
|
102
|
+
List available zones in a DNS provider
|
|
103
|
+
|
|
104
|
+
**Options:**
|
|
105
|
+
|
|
106
|
+
| Flag | Description | Default | Required |
|
|
107
|
+
|------|-------------|---------|----------|
|
|
108
|
+
| `--id <id>` | Provider ID | - | Yes |
|
|
109
|
+
| `--json` | Output in JSON format | - | No |
|
|
110
|
+
|
|
111
|
+
### `dns records` (alias: `record`)
|
|
112
|
+
|
|
113
|
+
Manage A, AAAA and CNAME records on managed domains (ownership-guarded: Temps only changes records it owns)
|
|
114
|
+
|
|
115
|
+
**Subcommands:**
|
|
116
|
+
|
|
117
|
+
- `ownership` (`owner`) - Show whether Temps owns a DNS record and may change it
|
|
118
|
+
- `set` (`create`) - Create or update a Temps-owned DNS record
|
|
119
|
+
- `import` (`adopt`) - Adopt an existing DNS record into Temps management
|
|
120
|
+
- `remove` (`rm`, `delete`) - Delete a Temps-owned DNS record
|
|
121
|
+
|
|
122
|
+
#### `dns records ownership` (alias: `owner`)
|
|
123
|
+
|
|
124
|
+
Show whether Temps owns a DNS record and may change it
|
|
125
|
+
|
|
126
|
+
**Options:**
|
|
127
|
+
|
|
128
|
+
| Flag | Description | Default | Required |
|
|
129
|
+
|------|-------------|---------|----------|
|
|
130
|
+
| `-d, --domain <domain>` | Domain under a managed zone, e.g. example.com | - | Yes |
|
|
131
|
+
| `--name <name>` | Record name relative to the zone ("@" for apex) | - | Yes |
|
|
132
|
+
| `-t, --type <type>` | Record type (A, AAAA, CNAME) | - | Yes |
|
|
133
|
+
| `--json` | Output in JSON format | - | No |
|
|
134
|
+
|
|
135
|
+
#### `dns records set` (alias: `create`)
|
|
136
|
+
|
|
137
|
+
Create or update a Temps-owned DNS record
|
|
138
|
+
|
|
139
|
+
**Options:**
|
|
140
|
+
|
|
141
|
+
| Flag | Description | Default | Required |
|
|
142
|
+
|------|-------------|---------|----------|
|
|
143
|
+
| `-d, --domain <domain>` | Domain under a managed zone, e.g. example.com | - | Yes |
|
|
144
|
+
| `--name <name>` | Record name relative to the zone ("@" for apex) | - | Yes |
|
|
145
|
+
| `-t, --type <type>` | Record type (A, AAAA, CNAME) | - | Yes |
|
|
146
|
+
| `--value <value>` | Record value: IPv4 address (A), IPv6 address (AAAA) or target hostname (CNAME) | - | No |
|
|
147
|
+
| `--ttl <seconds>` | TTL in seconds, 60-86400; omit (or use 1) for the provider default | - | No |
|
|
148
|
+
| `--proxied` | Proxy through the provider CDN (Cloudflare orange cloud) | - | No |
|
|
149
|
+
| `--no-proxied` | Do not proxy (DNS only) | - | No |
|
|
150
|
+
| `-p, --project <project>` | Project slug or ID to stamp as the record owner | - | No |
|
|
151
|
+
| `--environment-id <id>` | Environment ID to stamp as the record owner | - | No |
|
|
152
|
+
| `--json` | Output in JSON format | - | No |
|
|
153
|
+
|
|
154
|
+
#### `dns records import` (alias: `adopt`)
|
|
155
|
+
|
|
156
|
+
Adopt an existing DNS record into Temps management
|
|
157
|
+
|
|
158
|
+
**Options:**
|
|
159
|
+
|
|
160
|
+
| Flag | Description | Default | Required |
|
|
161
|
+
|------|-------------|---------|----------|
|
|
162
|
+
| `-d, --domain <domain>` | Domain under a managed zone, e.g. example.com | - | Yes |
|
|
163
|
+
| `--name <name>` | Record name relative to the zone ("@" for apex) | - | Yes |
|
|
164
|
+
| `-t, --type <type>` | Record type (A, AAAA, CNAME) | - | Yes |
|
|
165
|
+
| `-p, --project <project>` | Project slug or ID to stamp as the record owner | - | No |
|
|
166
|
+
| `--environment-id <id>` | Environment ID to stamp as the record owner | - | No |
|
|
167
|
+
| `--json` | Output in JSON format | - | No |
|
|
168
|
+
|
|
169
|
+
#### `dns records remove` (alias: `rm`, `delete`)
|
|
170
|
+
|
|
171
|
+
Delete a Temps-owned DNS record
|
|
172
|
+
|
|
173
|
+
**Options:**
|
|
174
|
+
|
|
175
|
+
| Flag | Description | Default | Required |
|
|
176
|
+
|------|-------------|---------|----------|
|
|
177
|
+
| `-d, --domain <domain>` | Domain under a managed zone, e.g. example.com | - | Yes |
|
|
178
|
+
| `--name <name>` | Record name relative to the zone ("@" for apex) | - | Yes |
|
|
179
|
+
| `-t, --type <type>` | Record type (A, AAAA, CNAME) | - | Yes |
|
|
180
|
+
| `-f, --force` | Skip confirmation | - | No |
|
|
181
|
+
| `-y, --yes` | Skip confirmation (alias for --force) | - | No |
|