@temps-sdk/cli 0.1.37 → 0.2.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -0
- package/dist/index.js +32148 -34152
- package/dist/skills/temps/SKILL.md +148 -0
- package/dist/skills/temps/agents/openai.yaml +7 -0
- package/dist/skills/temps/evals/evals.json +112 -0
- package/dist/skills/temps/howtos/backup-recovery.md +41 -0
- package/dist/skills/temps/howtos/ci-automation.md +17 -0
- package/dist/skills/temps/howtos/curated-services.md +69 -0
- package/dist/skills/temps/howtos/deploy-application.md +36 -0
- package/dist/skills/temps/howtos/diagnose-deployment.md +17 -0
- package/dist/skills/temps/howtos/edge-rules.md +135 -0
- package/dist/skills/temps/howtos/framework-routing.md +28 -0
- package/dist/skills/temps/howtos/javascript-typescript.md +57 -0
- package/dist/skills/temps/howtos/managed-services.md +83 -0
- package/dist/skills/temps/howtos/observability-onboarding.md +52 -0
- package/dist/skills/temps/howtos/projects-and-monorepos.md +50 -0
- package/dist/skills/temps/howtos/python.md +42 -0
- package/dist/skills/temps/howtos/rust.md +30 -0
- package/dist/skills/temps/references/cli-runtime.md +60 -0
- package/dist/skills/temps/references/commands/INDEX.md +102 -0
- package/dist/skills/temps/references/commands/access.md +53 -0
- package/dist/skills/temps/references/commands/ai.md +47 -0
- package/dist/skills/temps/references/commands/alarms.md +91 -0
- package/dist/skills/temps/references/commands/analytics.md +568 -0
- package/dist/skills/temps/references/commands/apikeys.md +98 -0
- package/dist/skills/temps/references/commands/audit.md +41 -0
- package/dist/skills/temps/references/commands/backups.md +269 -0
- package/dist/skills/temps/references/commands/cloud.md +385 -0
- package/dist/skills/temps/references/commands/cluster.md +31 -0
- package/dist/skills/temps/references/commands/configure.md +62 -0
- package/dist/skills/temps/references/commands/containers.md +110 -0
- package/dist/skills/temps/references/commands/context.md +55 -0
- package/dist/skills/temps/references/commands/custom-domains.md +98 -0
- package/dist/skills/temps/references/commands/data.md +87 -0
- package/dist/skills/temps/references/commands/delivery-profiles.md +69 -0
- package/dist/skills/temps/references/commands/delivery.md +116 -0
- package/dist/skills/temps/references/commands/deploy-image.md +23 -0
- package/dist/skills/temps/references/commands/deploy-local-image.md +28 -0
- package/dist/skills/temps/references/commands/deploy-static.md +23 -0
- package/dist/skills/temps/references/commands/deploy.md +23 -0
- package/dist/skills/temps/references/commands/deployments.md +173 -0
- package/dist/skills/temps/references/commands/dns-provider.md +196 -0
- package/dist/skills/temps/references/commands/dns.md +181 -0
- package/dist/skills/temps/references/commands/domains.md +188 -0
- package/dist/skills/temps/references/commands/drop.md +23 -0
- package/dist/skills/temps/references/commands/dsn.md +84 -0
- package/dist/skills/temps/references/commands/edge-rules.md +218 -0
- package/dist/skills/temps/references/commands/email-domains.md +160 -0
- package/dist/skills/temps/references/commands/email-providers.md +96 -0
- package/dist/skills/temps/references/commands/emails.md +79 -0
- package/dist/skills/temps/references/commands/env-pull.md +18 -0
- package/dist/skills/temps/references/commands/env-push.md +19 -0
- package/dist/skills/temps/references/commands/environments.md +500 -0
- package/dist/skills/temps/references/commands/errors.md +763 -0
- package/dist/skills/temps/references/commands/facets.md +63 -0
- package/dist/skills/temps/references/commands/flags.md +246 -0
- package/dist/skills/temps/references/commands/funnels.md +92 -0
- package/dist/skills/temps/references/commands/incidents.md +115 -0
- package/dist/skills/temps/references/commands/init.md +18 -0
- package/dist/skills/temps/references/commands/instances.md +62 -0
- package/dist/skills/temps/references/commands/instantiations.md +57 -0
- package/dist/skills/temps/references/commands/ip-access.md +153 -0
- package/dist/skills/temps/references/commands/link.md +17 -0
- package/dist/skills/temps/references/commands/load-balancer.md +73 -0
- package/dist/skills/temps/references/commands/login.md +22 -0
- package/dist/skills/temps/references/commands/logout.md +16 -0
- package/dist/skills/temps/references/commands/logs.md +290 -0
- package/dist/skills/temps/references/commands/mcp-servers.md +74 -0
- package/dist/skills/temps/references/commands/mcp.md +72 -0
- package/dist/skills/temps/references/commands/metrics.md +79 -0
- package/dist/skills/temps/references/commands/migrate.md +118 -0
- package/dist/skills/temps/references/commands/monitors.md +162 -0
- package/dist/skills/temps/references/commands/network-policy.md +120 -0
- package/dist/skills/temps/references/commands/nodes.md +254 -0
- package/dist/skills/temps/references/commands/notification-preferences.md +47 -0
- package/dist/skills/temps/references/commands/notifications.md +233 -0
- package/dist/skills/temps/references/commands/open.md +19 -0
- package/dist/skills/temps/references/commands/otel-forward.md +226 -0
- package/dist/skills/temps/references/commands/otel.md +38 -0
- package/dist/skills/temps/references/commands/platform.md +151 -0
- package/dist/skills/temps/references/commands/plugin.md +222 -0
- package/dist/skills/temps/references/commands/presets.md +37 -0
- package/dist/skills/temps/references/commands/project-groups.md +292 -0
- package/dist/skills/temps/references/commands/projects.md +329 -0
- package/dist/skills/temps/references/commands/providers.md +290 -0
- package/dist/skills/temps/references/commands/proxy-logs.md +85 -0
- package/dist/skills/temps/references/commands/revenue.md +52 -0
- package/dist/skills/temps/references/commands/rollback.md +20 -0
- package/dist/skills/temps/references/commands/runtime-logs.md +21 -0
- package/dist/skills/temps/references/commands/sandbox.md +518 -0
- package/dist/skills/temps/references/commands/scans.md +113 -0
- package/dist/skills/temps/references/commands/secrets.md +75 -0
- package/dist/skills/temps/references/commands/server.md +50 -0
- package/dist/skills/temps/references/commands/services.md +642 -0
- package/dist/skills/temps/references/commands/session-replay.md +84 -0
- package/dist/skills/temps/references/commands/settings.md +84 -0
- package/dist/skills/temps/references/commands/setup.md +25 -0
- package/dist/skills/temps/references/commands/skills.md +93 -0
- package/dist/skills/temps/references/commands/start.md +21 -0
- package/dist/skills/temps/references/commands/status-pages.md +455 -0
- package/dist/skills/temps/references/commands/status.md +19 -0
- package/dist/skills/temps/references/commands/stop.md +16 -0
- package/dist/skills/temps/references/commands/surveys.md +165 -0
- package/dist/skills/temps/references/commands/teams.md +143 -0
- package/dist/skills/temps/references/commands/templates.md +67 -0
- package/dist/skills/temps/references/commands/tokens.md +77 -0
- package/dist/skills/temps/references/commands/traces.md +100 -0
- package/dist/skills/temps/references/commands/traefik-discovery.md +123 -0
- package/dist/skills/temps/references/commands/tunnels.md +139 -0
- package/dist/skills/temps/references/commands/up.md +27 -0
- package/dist/skills/temps/references/commands/users.md +115 -0
- package/dist/skills/temps/references/commands/webhooks.md +171 -0
- package/dist/skills/temps/references/commands/whoami.md +15 -0
- package/dist/skills/temps/references/commands/workflow.md +44 -0
- package/dist/skills/temps/references/commands/workflows.md +216 -0
- package/dist/skills/temps/references/observability/analytics.md +146 -0
- package/dist/skills/temps/references/observability/error-tracking.md +73 -0
- package/dist/skills/temps/references/observability/hygiene.md +112 -0
- package/dist/skills/temps/references/observability/logs.md +43 -0
- package/dist/skills/temps/references/observability/metrics.md +41 -0
- package/dist/skills/temps/references/observability/tracing.md +392 -0
- package/dist/skills/temps/references/runtime-contract.md +115 -0
- package/dist/skills/temps/references/workflows/platform-operations.md +164 -0
- package/dist/skills/temps/scripts/detect_project_capabilities.py +239 -0
- package/dist/skills/temps/scripts/generate_command_references.py +144 -0
- package/dist/skills/temps/scripts/test_detect_project_capabilities.py +124 -0
- package/dist/skills/temps/scripts/test_generate_command_references.py +128 -0
- package/dist/skills/temps/scripts/test_validate_skill.py +43 -0
- package/dist/skills/temps/scripts/validate_skill.py +97 -0
- package/package.json +7 -2
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
<!-- Generated from skills/temps-cli/references/COMMANDS.md. Do not edit manually. -->
|
|
2
|
+
|
|
3
|
+
# `domains` command reference
|
|
4
|
+
|
|
5
|
+
Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing a command. Runtime `--help` is authoritative.
|
|
6
|
+
|
|
7
|
+
## `domains` (alias: `domain`)
|
|
8
|
+
|
|
9
|
+
Manage custom domains
|
|
10
|
+
|
|
11
|
+
**Subcommands:**
|
|
12
|
+
|
|
13
|
+
- `list` (`ls`) - List domains
|
|
14
|
+
- `add` - Add a custom domain
|
|
15
|
+
- `verify` - Verify domain and provision SSL certificate
|
|
16
|
+
- `remove` (`rm`) - Remove a domain
|
|
17
|
+
- `ssl` - Manage SSL certificate
|
|
18
|
+
- `status` - Check domain status
|
|
19
|
+
- `renewal-attempts` - Show the certificate renewal-attempt history for a domain
|
|
20
|
+
- `orders` (`order`) - Manage ACME orders for SSL certificate provisioning
|
|
21
|
+
- `dns-challenge` - Setup DNS challenge records automatically using a DNS provider
|
|
22
|
+
- `http-debug` - Debug HTTP-01 challenge for a domain
|
|
23
|
+
|
|
24
|
+
### `domains list` (alias: `ls`)
|
|
25
|
+
|
|
26
|
+
List domains
|
|
27
|
+
|
|
28
|
+
**Options:**
|
|
29
|
+
|
|
30
|
+
| Flag | Description | Default | Required |
|
|
31
|
+
|------|-------------|---------|----------|
|
|
32
|
+
| `--json` | Output in JSON format | - | No |
|
|
33
|
+
|
|
34
|
+
### `domains add`
|
|
35
|
+
|
|
36
|
+
Add a custom domain
|
|
37
|
+
|
|
38
|
+
**Options:**
|
|
39
|
+
|
|
40
|
+
| Flag | Description | Default | Required |
|
|
41
|
+
|------|-------------|---------|----------|
|
|
42
|
+
| `-d, --domain <domain>` | Domain name | - | Yes |
|
|
43
|
+
| `-c, --challenge <type>` | Challenge type (http-01 or dns-01) | `http-01` | No |
|
|
44
|
+
| `--manual-dns` | With dns-01, print the TXT record to add by hand even when a DNS provider in Temps manages the zone | - | No |
|
|
45
|
+
| `-y, --yes` | Skip confirmation prompts | - | No |
|
|
46
|
+
|
|
47
|
+
### `domains verify`
|
|
48
|
+
|
|
49
|
+
Verify domain and provision SSL certificate
|
|
50
|
+
|
|
51
|
+
**Options:**
|
|
52
|
+
|
|
53
|
+
| Flag | Description | Default | Required |
|
|
54
|
+
|------|-------------|---------|----------|
|
|
55
|
+
| `-d, --domain <domain>` | Domain name | - | Yes |
|
|
56
|
+
|
|
57
|
+
### `domains remove` (alias: `rm`)
|
|
58
|
+
|
|
59
|
+
Remove a domain
|
|
60
|
+
|
|
61
|
+
**Options:**
|
|
62
|
+
|
|
63
|
+
| Flag | Description | Default | Required |
|
|
64
|
+
|------|-------------|---------|----------|
|
|
65
|
+
| `-d, --domain <domain>` | Domain name | - | Yes |
|
|
66
|
+
| `-f, --force` | Skip confirmation | - | No |
|
|
67
|
+
| `-y, --yes` | Skip confirmation prompts (alias for --force) | - | No |
|
|
68
|
+
|
|
69
|
+
### `domains ssl`
|
|
70
|
+
|
|
71
|
+
Manage SSL certificate
|
|
72
|
+
|
|
73
|
+
**Options:**
|
|
74
|
+
|
|
75
|
+
| Flag | Description | Default | Required |
|
|
76
|
+
|------|-------------|---------|----------|
|
|
77
|
+
| `-d, --domain <domain>` | Domain name | - | Yes |
|
|
78
|
+
| `--renew` | Force certificate renewal | - | No |
|
|
79
|
+
|
|
80
|
+
### `domains status`
|
|
81
|
+
|
|
82
|
+
Check domain status
|
|
83
|
+
|
|
84
|
+
**Options:**
|
|
85
|
+
|
|
86
|
+
| Flag | Description | Default | Required |
|
|
87
|
+
|------|-------------|---------|----------|
|
|
88
|
+
| `-d, --domain <domain>` | Domain name | - | Yes |
|
|
89
|
+
|
|
90
|
+
### `domains renewal-attempts`
|
|
91
|
+
|
|
92
|
+
Show the certificate renewal-attempt history for a domain
|
|
93
|
+
|
|
94
|
+
**Options:**
|
|
95
|
+
|
|
96
|
+
| Flag | Description | Default | Required |
|
|
97
|
+
|------|-------------|---------|----------|
|
|
98
|
+
| `-d, --domain <domain>` | Domain name | - | Yes |
|
|
99
|
+
| `--page <page>` | Page number (1-indexed) | `1` | No |
|
|
100
|
+
| `--page-size <pageSize>` | Items per page (max 100) | `20` | No |
|
|
101
|
+
| `--json` | Output in JSON format | - | No |
|
|
102
|
+
|
|
103
|
+
### `domains orders` (alias: `order`)
|
|
104
|
+
|
|
105
|
+
Manage ACME orders for SSL certificate provisioning
|
|
106
|
+
|
|
107
|
+
**Subcommands:**
|
|
108
|
+
|
|
109
|
+
- `list` (`ls`) - List all ACME orders
|
|
110
|
+
- `show` - Show ACME order for a domain
|
|
111
|
+
- `create` - Create or recreate an ACME order for a domain
|
|
112
|
+
- `finalize` - Finalize an ACME order (complete challenge validation)
|
|
113
|
+
- `cancel` - Cancel an ACME order for a domain
|
|
114
|
+
|
|
115
|
+
#### `domains orders list` (alias: `ls`)
|
|
116
|
+
|
|
117
|
+
List all ACME orders
|
|
118
|
+
|
|
119
|
+
**Options:**
|
|
120
|
+
|
|
121
|
+
| Flag | Description | Default | Required |
|
|
122
|
+
|------|-------------|---------|----------|
|
|
123
|
+
| `--json` | Output in JSON format | - | No |
|
|
124
|
+
|
|
125
|
+
#### `domains orders show`
|
|
126
|
+
|
|
127
|
+
Show ACME order for a domain
|
|
128
|
+
|
|
129
|
+
**Options:**
|
|
130
|
+
|
|
131
|
+
| Flag | Description | Default | Required |
|
|
132
|
+
|------|-------------|---------|----------|
|
|
133
|
+
| `--domain-id <id>` | Domain ID | - | Yes |
|
|
134
|
+
| `--json` | Output in JSON format | - | No |
|
|
135
|
+
|
|
136
|
+
#### `domains orders create`
|
|
137
|
+
|
|
138
|
+
Create or recreate an ACME order for a domain
|
|
139
|
+
|
|
140
|
+
**Options:**
|
|
141
|
+
|
|
142
|
+
| Flag | Description | Default | Required |
|
|
143
|
+
|------|-------------|---------|----------|
|
|
144
|
+
| `--domain-id <id>` | Domain ID | - | Yes |
|
|
145
|
+
|
|
146
|
+
#### `domains orders finalize`
|
|
147
|
+
|
|
148
|
+
Finalize an ACME order (complete challenge validation)
|
|
149
|
+
|
|
150
|
+
**Options:**
|
|
151
|
+
|
|
152
|
+
| Flag | Description | Default | Required |
|
|
153
|
+
|------|-------------|---------|----------|
|
|
154
|
+
| `--domain-id <id>` | Domain ID | - | Yes |
|
|
155
|
+
|
|
156
|
+
#### `domains orders cancel`
|
|
157
|
+
|
|
158
|
+
Cancel an ACME order for a domain
|
|
159
|
+
|
|
160
|
+
**Options:**
|
|
161
|
+
|
|
162
|
+
| Flag | Description | Default | Required |
|
|
163
|
+
|------|-------------|---------|----------|
|
|
164
|
+
| `--domain-id <id>` | Domain ID | - | Yes |
|
|
165
|
+
| `-f, --force` | Skip confirmation | - | No |
|
|
166
|
+
| `-y, --yes` | Skip confirmation prompts (alias for --force) | - | No |
|
|
167
|
+
|
|
168
|
+
### `domains dns-challenge`
|
|
169
|
+
|
|
170
|
+
Setup DNS challenge records automatically using a DNS provider
|
|
171
|
+
|
|
172
|
+
**Options:**
|
|
173
|
+
|
|
174
|
+
| Flag | Description | Default | Required |
|
|
175
|
+
|------|-------------|---------|----------|
|
|
176
|
+
| `--domain-id <id>` | Domain ID | - | Yes |
|
|
177
|
+
| `--provider-id <id>` | DNS provider ID | - | Yes |
|
|
178
|
+
|
|
179
|
+
### `domains http-debug`
|
|
180
|
+
|
|
181
|
+
Debug HTTP-01 challenge for a domain
|
|
182
|
+
|
|
183
|
+
**Options:**
|
|
184
|
+
|
|
185
|
+
| Flag | Description | Default | Required |
|
|
186
|
+
|------|-------------|---------|----------|
|
|
187
|
+
| `-d, --domain <domain>` | Domain name | - | Yes |
|
|
188
|
+
| `--json` | Output in JSON format | - | No |
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<!-- Generated from skills/temps-cli/references/COMMANDS.md. Do not edit manually. -->
|
|
2
|
+
|
|
3
|
+
# `drop` command reference
|
|
4
|
+
|
|
5
|
+
Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing a command. Runtime `--help` is authoritative.
|
|
6
|
+
|
|
7
|
+
## `drop`
|
|
8
|
+
|
|
9
|
+
Detect and deploy a local source directory or ZIP without Git
|
|
10
|
+
|
|
11
|
+
**Usage:** `drop <path> [options]`
|
|
12
|
+
|
|
13
|
+
**Options:**
|
|
14
|
+
|
|
15
|
+
| Flag | Description | Default | Required |
|
|
16
|
+
|------|-------------|---------|----------|
|
|
17
|
+
| `--name <name>` | Name for the new project (slugified automatically) | - | No |
|
|
18
|
+
| `--project <project>` | Deploy into an existing project (slug or ID) instead of creating one | - | No |
|
|
19
|
+
| `--environment <env>` | Target environment (requires --project, default: production) | - | No |
|
|
20
|
+
| `--preset <preset>` | Select a detected preset | - | No |
|
|
21
|
+
| `--directory <directory>` | Select a detected project root | - | No |
|
|
22
|
+
| `--no-wait` | Do not wait for deployment to complete | - | No |
|
|
23
|
+
| `--timeout <seconds>` | Deployment timeout | `600` | No |
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
<!-- Generated from skills/temps-cli/references/COMMANDS.md. Do not edit manually. -->
|
|
2
|
+
|
|
3
|
+
# `dsn` command reference
|
|
4
|
+
|
|
5
|
+
Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing a command. Runtime `--help` is authoritative.
|
|
6
|
+
|
|
7
|
+
## `dsn`
|
|
8
|
+
|
|
9
|
+
Manage Data Source Names (DSNs) for error tracking and analytics
|
|
10
|
+
|
|
11
|
+
**Subcommands:**
|
|
12
|
+
|
|
13
|
+
- `list` (`ls`) - List all DSNs for a project
|
|
14
|
+
- `create` (`add`) - Create a new DSN for a project
|
|
15
|
+
- `get-or-create` - Get an existing DSN or create one if none exists
|
|
16
|
+
- `regenerate` - Regenerate DSN keys (rotate keys)
|
|
17
|
+
- `revoke` - Revoke (deactivate) a DSN
|
|
18
|
+
|
|
19
|
+
### `dsn list` (alias: `ls`)
|
|
20
|
+
|
|
21
|
+
List all DSNs for a project
|
|
22
|
+
|
|
23
|
+
**Options:**
|
|
24
|
+
|
|
25
|
+
| Flag | Description | Default | Required |
|
|
26
|
+
|------|-------------|---------|----------|
|
|
27
|
+
| `--project-id <id>` | Project ID | - | Yes |
|
|
28
|
+
| `--json` | Output in JSON format | - | No |
|
|
29
|
+
|
|
30
|
+
### `dsn create` (alias: `add`)
|
|
31
|
+
|
|
32
|
+
Create a new DSN for a project
|
|
33
|
+
|
|
34
|
+
**Options:**
|
|
35
|
+
|
|
36
|
+
| Flag | Description | Default | Required |
|
|
37
|
+
|------|-------------|---------|----------|
|
|
38
|
+
| `--project-id <id>` | Project ID | - | Yes |
|
|
39
|
+
| `-n, --name <name>` | DSN name | - | No |
|
|
40
|
+
| `--environment-id <id>` | Environment ID | - | No |
|
|
41
|
+
| `--deployment-id <id>` | Deployment ID | - | No |
|
|
42
|
+
| `--base-url <url>` | Base URL for the DSN | - | No |
|
|
43
|
+
| `-y, --yes` | Skip confirmation prompts (for automation) | - | No |
|
|
44
|
+
|
|
45
|
+
### `dsn get-or-create`
|
|
46
|
+
|
|
47
|
+
Get an existing DSN or create one if none exists
|
|
48
|
+
|
|
49
|
+
**Options:**
|
|
50
|
+
|
|
51
|
+
| Flag | Description | Default | Required |
|
|
52
|
+
|------|-------------|---------|----------|
|
|
53
|
+
| `--project-id <id>` | Project ID | - | Yes |
|
|
54
|
+
| `--environment-id <id>` | Environment ID | - | No |
|
|
55
|
+
| `--deployment-id <id>` | Deployment ID | - | No |
|
|
56
|
+
| `--base-url <url>` | Base URL for the DSN | - | No |
|
|
57
|
+
| `--json` | Output in JSON format | - | No |
|
|
58
|
+
|
|
59
|
+
### `dsn regenerate`
|
|
60
|
+
|
|
61
|
+
Regenerate DSN keys (rotate keys)
|
|
62
|
+
|
|
63
|
+
**Options:**
|
|
64
|
+
|
|
65
|
+
| Flag | Description | Default | Required |
|
|
66
|
+
|------|-------------|---------|----------|
|
|
67
|
+
| `--project-id <id>` | Project ID | - | Yes |
|
|
68
|
+
| `--dsn-id <id>` | DSN ID | - | Yes |
|
|
69
|
+
| `--base-url <url>` | New base URL for the DSN | - | No |
|
|
70
|
+
| `-f, --force` | Skip confirmation | - | No |
|
|
71
|
+
| `-y, --yes` | Skip confirmation (alias for --force) | - | No |
|
|
72
|
+
|
|
73
|
+
### `dsn revoke`
|
|
74
|
+
|
|
75
|
+
Revoke (deactivate) a DSN
|
|
76
|
+
|
|
77
|
+
**Options:**
|
|
78
|
+
|
|
79
|
+
| Flag | Description | Default | Required |
|
|
80
|
+
|------|-------------|---------|----------|
|
|
81
|
+
| `--project-id <id>` | Project ID | - | Yes |
|
|
82
|
+
| `--dsn-id <id>` | DSN ID | - | Yes |
|
|
83
|
+
| `-f, --force` | Skip confirmation | - | No |
|
|
84
|
+
| `-y, --yes` | Skip confirmation (alias for --force) | - | No |
|
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
<!-- Generated from skills/temps-cli/references/COMMANDS.md. Do not edit manually. -->
|
|
2
|
+
|
|
3
|
+
# `edge-rules` command reference
|
|
4
|
+
|
|
5
|
+
Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing a command. Runtime `--help` is authoritative.
|
|
6
|
+
|
|
7
|
+
## `edge-rules` (alias: `edge-rule`)
|
|
8
|
+
|
|
9
|
+
Block, allow, challenge, redirect or log requests before they reach the app. Rules run top to bottom; the first match decides
|
|
10
|
+
|
|
11
|
+
**Subcommands:**
|
|
12
|
+
|
|
13
|
+
- `list` (`ls`) - List the rules in evaluation order
|
|
14
|
+
- `get` - Show one rule
|
|
15
|
+
- `create` - Add a rule. New rules start in log-only mode unless --mode enforce is given
|
|
16
|
+
- `update` - Change a rule; only the given parts change
|
|
17
|
+
- `delete` (`rm`) - Delete a rule
|
|
18
|
+
- `move` - Move a rule to another position
|
|
19
|
+
- `enable` - Enable a rule
|
|
20
|
+
- `disable` - Disable a rule (kept, never evaluated)
|
|
21
|
+
- `enforce` - Act on matches
|
|
22
|
+
- `log-only` - Only record matches, never act on them
|
|
23
|
+
- `test` - Dry-run a request against the saved rules (or a rules file) and show the trace
|
|
24
|
+
- `export` - Print the rules as a file apply accepts
|
|
25
|
+
- `apply` - Make the project rules match a file: rules are matched by name, changed ones updated, missing ones created, others deleted, then ordered as in the file
|
|
26
|
+
|
|
27
|
+
### `edge-rules list` (alias: `ls`)
|
|
28
|
+
|
|
29
|
+
List the rules in evaluation order
|
|
30
|
+
|
|
31
|
+
**Options:**
|
|
32
|
+
|
|
33
|
+
| Flag | Description | Default | Required |
|
|
34
|
+
|------|-------------|---------|----------|
|
|
35
|
+
| `--project-id <id>` | Project ID | - | Yes |
|
|
36
|
+
| `--json` | Output in JSON format | - | No |
|
|
37
|
+
|
|
38
|
+
### `edge-rules get`
|
|
39
|
+
|
|
40
|
+
Show one rule
|
|
41
|
+
|
|
42
|
+
**Usage:** `edge-rules get <rule-id> [options]`
|
|
43
|
+
|
|
44
|
+
**Options:**
|
|
45
|
+
|
|
46
|
+
| Flag | Description | Default | Required |
|
|
47
|
+
|------|-------------|---------|----------|
|
|
48
|
+
| `--project-id <id>` | Project ID | - | Yes |
|
|
49
|
+
| `--json` | Output in JSON format | - | No |
|
|
50
|
+
|
|
51
|
+
### `edge-rules create`
|
|
52
|
+
|
|
53
|
+
Add a rule. New rules start in log-only mode unless --mode enforce is given
|
|
54
|
+
|
|
55
|
+
**Options:**
|
|
56
|
+
|
|
57
|
+
| Flag | Description | Default | Required |
|
|
58
|
+
|------|-------------|---------|----------|
|
|
59
|
+
| `--file <path>` | JSON file with the rule: {name?, expression, action, mode?, enabled?, environment_id?} | - | No |
|
|
60
|
+
| `--name <name>` | Rule name (generated from the rule when omitted) | - | No |
|
|
61
|
+
| `--expression <json>` | Match expression as JSON, e.g. {"combinator":"all","children":[...]} | - | No |
|
|
62
|
+
| `--action <json>` | Action as JSON, e.g. {"type":"block","status":403} | - | No |
|
|
63
|
+
| `--environment-id <id>` | Apply only to this environment | - | No |
|
|
64
|
+
| `--project-id <id>` | Project ID | - | Yes |
|
|
65
|
+
| `--json` | Output in JSON format | - | No |
|
|
66
|
+
| `--mode <mode>` | enforce or log-only (default: the file's mode, else log-only) | - | No |
|
|
67
|
+
| `--disabled` | Create it disabled | - | No |
|
|
68
|
+
| `--position <n>` | Insert at this 1-based position (default: last) | - | No |
|
|
69
|
+
|
|
70
|
+
### `edge-rules update`
|
|
71
|
+
|
|
72
|
+
Change a rule; only the given parts change
|
|
73
|
+
|
|
74
|
+
**Usage:** `edge-rules update <rule-id> [options]`
|
|
75
|
+
|
|
76
|
+
**Options:**
|
|
77
|
+
|
|
78
|
+
| Flag | Description | Default | Required |
|
|
79
|
+
|------|-------------|---------|----------|
|
|
80
|
+
| `--file <path>` | JSON file with the rule: {name?, expression, action, mode?, enabled?, environment_id?} | - | No |
|
|
81
|
+
| `--name <name>` | Rule name (generated from the rule when omitted) | - | No |
|
|
82
|
+
| `--expression <json>` | Match expression as JSON, e.g. {"combinator":"all","children":[...]} | - | No |
|
|
83
|
+
| `--action <json>` | Action as JSON, e.g. {"type":"block","status":403} | - | No |
|
|
84
|
+
| `--environment-id <id>` | Apply only to this environment | - | No |
|
|
85
|
+
| `--project-id <id>` | Project ID | - | Yes |
|
|
86
|
+
| `--json` | Output in JSON format | - | No |
|
|
87
|
+
| `--mode <mode>` | enforce or log-only | - | No |
|
|
88
|
+
| `--all-environments` | Apply to every environment | - | No |
|
|
89
|
+
| `--revision <n>` | Fail if the rule changed since this revision (default: the current one) | - | No |
|
|
90
|
+
|
|
91
|
+
### `edge-rules delete` (alias: `rm`)
|
|
92
|
+
|
|
93
|
+
Delete a rule
|
|
94
|
+
|
|
95
|
+
**Usage:** `edge-rules delete <rule-id> [options]`
|
|
96
|
+
|
|
97
|
+
**Options:**
|
|
98
|
+
|
|
99
|
+
| Flag | Description | Default | Required |
|
|
100
|
+
|------|-------------|---------|----------|
|
|
101
|
+
| `--project-id <id>` | Project ID | - | Yes |
|
|
102
|
+
| `--json` | Output in JSON format | - | No |
|
|
103
|
+
| `-y, --yes` | Skip confirmation | - | No |
|
|
104
|
+
|
|
105
|
+
### `edge-rules move`
|
|
106
|
+
|
|
107
|
+
Move a rule to another position
|
|
108
|
+
|
|
109
|
+
**Usage:** `edge-rules move <rule-id> [options]`
|
|
110
|
+
|
|
111
|
+
**Options:**
|
|
112
|
+
|
|
113
|
+
| Flag | Description | Default | Required |
|
|
114
|
+
|------|-------------|---------|----------|
|
|
115
|
+
| `--project-id <id>` | Project ID | - | Yes |
|
|
116
|
+
| `--json` | Output in JSON format | - | No |
|
|
117
|
+
| `--to <n>` | New 1-based position | - | Yes |
|
|
118
|
+
|
|
119
|
+
### `edge-rules enable`
|
|
120
|
+
|
|
121
|
+
Enable a rule
|
|
122
|
+
|
|
123
|
+
**Usage:** `edge-rules enable <rule-id> [options]`
|
|
124
|
+
|
|
125
|
+
**Options:**
|
|
126
|
+
|
|
127
|
+
| Flag | Description | Default | Required |
|
|
128
|
+
|------|-------------|---------|----------|
|
|
129
|
+
| `--project-id <id>` | Project ID | - | Yes |
|
|
130
|
+
| `--json` | Output in JSON format | - | No |
|
|
131
|
+
|
|
132
|
+
### `edge-rules disable`
|
|
133
|
+
|
|
134
|
+
Disable a rule (kept, never evaluated)
|
|
135
|
+
|
|
136
|
+
**Usage:** `edge-rules disable <rule-id> [options]`
|
|
137
|
+
|
|
138
|
+
**Options:**
|
|
139
|
+
|
|
140
|
+
| Flag | Description | Default | Required |
|
|
141
|
+
|------|-------------|---------|----------|
|
|
142
|
+
| `--project-id <id>` | Project ID | - | Yes |
|
|
143
|
+
| `--json` | Output in JSON format | - | No |
|
|
144
|
+
|
|
145
|
+
### `edge-rules enforce`
|
|
146
|
+
|
|
147
|
+
Act on matches
|
|
148
|
+
|
|
149
|
+
**Usage:** `edge-rules enforce <rule-id> [options]`
|
|
150
|
+
|
|
151
|
+
**Options:**
|
|
152
|
+
|
|
153
|
+
| Flag | Description | Default | Required |
|
|
154
|
+
|------|-------------|---------|----------|
|
|
155
|
+
| `--project-id <id>` | Project ID | - | Yes |
|
|
156
|
+
| `--json` | Output in JSON format | - | No |
|
|
157
|
+
|
|
158
|
+
### `edge-rules log-only`
|
|
159
|
+
|
|
160
|
+
Only record matches, never act on them
|
|
161
|
+
|
|
162
|
+
**Usage:** `edge-rules log-only <rule-id> [options]`
|
|
163
|
+
|
|
164
|
+
**Options:**
|
|
165
|
+
|
|
166
|
+
| Flag | Description | Default | Required |
|
|
167
|
+
|------|-------------|---------|----------|
|
|
168
|
+
| `--project-id <id>` | Project ID | - | Yes |
|
|
169
|
+
| `--json` | Output in JSON format | - | No |
|
|
170
|
+
|
|
171
|
+
### `edge-rules test`
|
|
172
|
+
|
|
173
|
+
Dry-run a request against the saved rules (or a rules file) and show the trace
|
|
174
|
+
|
|
175
|
+
**Options:**
|
|
176
|
+
|
|
177
|
+
| Flag | Description | Default | Required |
|
|
178
|
+
|------|-------------|---------|----------|
|
|
179
|
+
| `--project-id <id>` | Project ID | - | Yes |
|
|
180
|
+
| `--json` | Output in JSON format | - | No |
|
|
181
|
+
| `--url <url>` | Request URL or path, e.g. https://app.example.com/admin?x=1 | - | Yes |
|
|
182
|
+
| `--method <method>` | HTTP method | `GET` | No |
|
|
183
|
+
| `--header <header>` | "Name: value"; repeatable | `` | No |
|
|
184
|
+
| `--ip <ip>` | Client address | - | No |
|
|
185
|
+
| `--country <code>` | ISO country code, e.g. DE | - | No |
|
|
186
|
+
| `--continent <code>` | Continent code, e.g. EU | - | No |
|
|
187
|
+
| `--asn <n>` | Autonomous system number | - | No |
|
|
188
|
+
| `--user-agent <ua>` | User agent | - | No |
|
|
189
|
+
| `--bot-class <class>` | human, search_engine, ai_crawler, ai_agent or unknown_bot | - | No |
|
|
190
|
+
| `--environment-id <id>` | Environment the request is for | - | No |
|
|
191
|
+
| `--cleared` | The visitor already solved a challenge | - | No |
|
|
192
|
+
| `--file <path>` | Evaluate these rules instead of the saved ones (same format as export) | - | No |
|
|
193
|
+
|
|
194
|
+
### `edge-rules export`
|
|
195
|
+
|
|
196
|
+
Print the rules as a file apply accepts
|
|
197
|
+
|
|
198
|
+
**Options:**
|
|
199
|
+
|
|
200
|
+
| Flag | Description | Default | Required |
|
|
201
|
+
|------|-------------|---------|----------|
|
|
202
|
+
| `--project-id <id>` | Project ID | - | Yes |
|
|
203
|
+
| `--json` | Output in JSON format | - | No |
|
|
204
|
+
| `--output <path>` | Write to a file instead of stdout | - | No |
|
|
205
|
+
|
|
206
|
+
### `edge-rules apply`
|
|
207
|
+
|
|
208
|
+
Make the project rules match a file: rules are matched by name, changed ones updated, missing ones created, others deleted, then ordered as in the file
|
|
209
|
+
|
|
210
|
+
**Options:**
|
|
211
|
+
|
|
212
|
+
| Flag | Description | Default | Required |
|
|
213
|
+
|------|-------------|---------|----------|
|
|
214
|
+
| `--project-id <id>` | Project ID | - | Yes |
|
|
215
|
+
| `--json` | Output in JSON format | - | No |
|
|
216
|
+
| `--file <path>` | Rules file ({"rules": [...]}, as written by export) | - | Yes |
|
|
217
|
+
| `--dry-run` | Show the plan without changing anything | - | No |
|
|
218
|
+
| `-y, --yes` | Skip confirmation | - | No |
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
<!-- Generated from skills/temps-cli/references/COMMANDS.md. Do not edit manually. -->
|
|
2
|
+
|
|
3
|
+
# `email-domains` command reference
|
|
4
|
+
|
|
5
|
+
Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing a command. Runtime `--help` is authoritative.
|
|
6
|
+
|
|
7
|
+
## `email-domains` (alias: `edom`)
|
|
8
|
+
|
|
9
|
+
Manage email domains for transactional email
|
|
10
|
+
|
|
11
|
+
**Subcommands:**
|
|
12
|
+
|
|
13
|
+
- `list` (`ls`) - List all email domains
|
|
14
|
+
- `create` (`add`) - Create a new email domain
|
|
15
|
+
- `import` - Import an existing domain identity that was already provisioned in the provider console. Fetches the current verification state without re-creating the identity.
|
|
16
|
+
- `show` - Show email domain details
|
|
17
|
+
- `remove` (`rm`) - Remove an email domain
|
|
18
|
+
- `by-name` - Look up an email domain by domain name
|
|
19
|
+
- `dns-records` - Get DNS records for an email domain
|
|
20
|
+
- `setup-dns` - Setup DNS records using a configured DNS provider
|
|
21
|
+
- `verify` - Verify an email domain DNS configuration
|
|
22
|
+
- `projects` - List projects authorized to send through an email domain
|
|
23
|
+
- `authorize-project` - Authorize a project to send through an email domain
|
|
24
|
+
- `revoke-project` - Revoke a project's permission to send through an email domain
|
|
25
|
+
|
|
26
|
+
### `email-domains list` (alias: `ls`)
|
|
27
|
+
|
|
28
|
+
List all email domains
|
|
29
|
+
|
|
30
|
+
**Options:**
|
|
31
|
+
|
|
32
|
+
| Flag | Description | Default | Required |
|
|
33
|
+
|------|-------------|---------|----------|
|
|
34
|
+
| `--json` | Output in JSON format | - | No |
|
|
35
|
+
|
|
36
|
+
### `email-domains create` (alias: `add`)
|
|
37
|
+
|
|
38
|
+
Create a new email domain
|
|
39
|
+
|
|
40
|
+
**Options:**
|
|
41
|
+
|
|
42
|
+
| Flag | Description | Default | Required |
|
|
43
|
+
|------|-------------|---------|----------|
|
|
44
|
+
| `-d, --domain <domain>` | Domain name (e.g., mail.example.com) | - | No |
|
|
45
|
+
| `--provider-id <id>` | Email provider ID | - | No |
|
|
46
|
+
| `-y, --yes` | Skip confirmation prompts (for automation) | - | No |
|
|
47
|
+
|
|
48
|
+
### `email-domains import`
|
|
49
|
+
|
|
50
|
+
Import an existing domain identity that was already provisioned in the provider console. Fetches the current verification state without re-creating the identity.
|
|
51
|
+
|
|
52
|
+
**Options:**
|
|
53
|
+
|
|
54
|
+
| Flag | Description | Default | Required |
|
|
55
|
+
|------|-------------|---------|----------|
|
|
56
|
+
| `-d, --domain <domain>` | Domain name (e.g., mail.example.com) | - | No |
|
|
57
|
+
| `--provider-id <id>` | Email provider ID | - | No |
|
|
58
|
+
| `--provider-identity-id <id>` | Provider-internal identity UUID (required for Scaleway; omit for SES) | - | No |
|
|
59
|
+
| `-y, --yes` | Skip confirmation prompts (for automation) | - | No |
|
|
60
|
+
|
|
61
|
+
### `email-domains show`
|
|
62
|
+
|
|
63
|
+
Show email domain details
|
|
64
|
+
|
|
65
|
+
**Options:**
|
|
66
|
+
|
|
67
|
+
| Flag | Description | Default | Required |
|
|
68
|
+
|------|-------------|---------|----------|
|
|
69
|
+
| `--id <id>` | Email domain ID | - | Yes |
|
|
70
|
+
| `--json` | Output in JSON format | - | No |
|
|
71
|
+
|
|
72
|
+
### `email-domains remove` (alias: `rm`)
|
|
73
|
+
|
|
74
|
+
Remove an email domain
|
|
75
|
+
|
|
76
|
+
**Options:**
|
|
77
|
+
|
|
78
|
+
| Flag | Description | Default | Required |
|
|
79
|
+
|------|-------------|---------|----------|
|
|
80
|
+
| `--id <id>` | Email domain ID | - | Yes |
|
|
81
|
+
| `-f, --force` | Skip confirmation | - | No |
|
|
82
|
+
| `-y, --yes` | Skip confirmation prompts (alias for --force) | - | No |
|
|
83
|
+
|
|
84
|
+
### `email-domains by-name`
|
|
85
|
+
|
|
86
|
+
Look up an email domain by domain name
|
|
87
|
+
|
|
88
|
+
**Options:**
|
|
89
|
+
|
|
90
|
+
| Flag | Description | Default | Required |
|
|
91
|
+
|------|-------------|---------|----------|
|
|
92
|
+
| `-d, --domain <domain>` | Domain name | - | Yes |
|
|
93
|
+
| `--json` | Output in JSON format | - | No |
|
|
94
|
+
|
|
95
|
+
### `email-domains dns-records`
|
|
96
|
+
|
|
97
|
+
Get DNS records for an email domain
|
|
98
|
+
|
|
99
|
+
**Options:**
|
|
100
|
+
|
|
101
|
+
| Flag | Description | Default | Required |
|
|
102
|
+
|------|-------------|---------|----------|
|
|
103
|
+
| `--id <id>` | Email domain ID | - | Yes |
|
|
104
|
+
| `--json` | Output in JSON format | - | No |
|
|
105
|
+
|
|
106
|
+
### `email-domains setup-dns`
|
|
107
|
+
|
|
108
|
+
Setup DNS records using a configured DNS provider
|
|
109
|
+
|
|
110
|
+
**Options:**
|
|
111
|
+
|
|
112
|
+
| Flag | Description | Default | Required |
|
|
113
|
+
|------|-------------|---------|----------|
|
|
114
|
+
| `--id <id>` | Email domain ID | - | Yes |
|
|
115
|
+
| `--dns-provider-id <id>` | DNS provider ID to use | - | No |
|
|
116
|
+
|
|
117
|
+
### `email-domains verify`
|
|
118
|
+
|
|
119
|
+
Verify an email domain DNS configuration
|
|
120
|
+
|
|
121
|
+
**Options:**
|
|
122
|
+
|
|
123
|
+
| Flag | Description | Default | Required |
|
|
124
|
+
|------|-------------|---------|----------|
|
|
125
|
+
| `--id <id>` | Email domain ID | - | Yes |
|
|
126
|
+
|
|
127
|
+
### `email-domains projects`
|
|
128
|
+
|
|
129
|
+
List projects authorized to send through an email domain
|
|
130
|
+
|
|
131
|
+
**Options:**
|
|
132
|
+
|
|
133
|
+
| Flag | Description | Default | Required |
|
|
134
|
+
|------|-------------|---------|----------|
|
|
135
|
+
| `--id <id>` | Email domain ID | - | Yes |
|
|
136
|
+
| `--json` | Output in JSON format | - | No |
|
|
137
|
+
|
|
138
|
+
### `email-domains authorize-project`
|
|
139
|
+
|
|
140
|
+
Authorize a project to send through an email domain
|
|
141
|
+
|
|
142
|
+
**Options:**
|
|
143
|
+
|
|
144
|
+
| Flag | Description | Default | Required |
|
|
145
|
+
|------|-------------|---------|----------|
|
|
146
|
+
| `--id <id>` | Email domain ID | - | Yes |
|
|
147
|
+
| `--project-id <id>` | Project ID | - | Yes |
|
|
148
|
+
|
|
149
|
+
### `email-domains revoke-project`
|
|
150
|
+
|
|
151
|
+
Revoke a project's permission to send through an email domain
|
|
152
|
+
|
|
153
|
+
**Options:**
|
|
154
|
+
|
|
155
|
+
| Flag | Description | Default | Required |
|
|
156
|
+
|------|-------------|---------|----------|
|
|
157
|
+
| `--id <id>` | Email domain ID | - | Yes |
|
|
158
|
+
| `--project-id <id>` | Project ID | - | Yes |
|
|
159
|
+
| `-f, --force` | Skip confirmation | - | No |
|
|
160
|
+
| `-y, --yes` | Skip confirmation prompts (alias for --force) | - | No |
|