@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
|
@@ -29,6 +29,8 @@ List registered span attribute facets
|
|
|
29
29
|
|
|
30
30
|
Register an attribute key as a facet, making it fast to filter on across all traces. Backfills existing spans that carry the attribute. Capped at 20 facets platform-wide.
|
|
31
31
|
|
|
32
|
+
**Usage:** `facets create <attribute-key> [options]`
|
|
33
|
+
|
|
32
34
|
**Options:**
|
|
33
35
|
|
|
34
36
|
| Flag | Description | Default | Required |
|
|
@@ -39,6 +41,8 @@ Register an attribute key as a facet, making it fast to filter on across all tra
|
|
|
39
41
|
|
|
40
42
|
Remove a registered facet, freeing its slot for reuse
|
|
41
43
|
|
|
44
|
+
**Usage:** `facets remove <attribute-key> [options]`
|
|
45
|
+
|
|
42
46
|
**Options:**
|
|
43
47
|
|
|
44
48
|
| Flag | Description | Default | Required |
|
|
@@ -50,6 +54,8 @@ Remove a registered facet, freeing its slot for reuse
|
|
|
50
54
|
|
|
51
55
|
Retry a failed historical backfill. Only valid when the facet's status is "failed" — resets progress and lets the background poller re-attempt from the beginning.
|
|
52
56
|
|
|
57
|
+
**Usage:** `facets retry <attribute-key> [options]`
|
|
58
|
+
|
|
53
59
|
**Options:**
|
|
54
60
|
|
|
55
61
|
| Flag | Description | Default | Required |
|
|
@@ -4,6 +4,26 @@
|
|
|
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
|
+
- [`flags list`](#flags-list-alias-ls)
|
|
10
|
+
- [`flags get`](#flags-get)
|
|
11
|
+
- [`flags create`](#flags-create)
|
|
12
|
+
- [`flags update`](#flags-update)
|
|
13
|
+
- [`flags rules`](#flags-rules)
|
|
14
|
+
- [`flags evaluate`](#flags-evaluate-alias-eval)
|
|
15
|
+
- [`flags reshuffle`](#flags-reshuffle)
|
|
16
|
+
- [`flags set`](#flags-set)
|
|
17
|
+
- [`flags clear`](#flags-clear)
|
|
18
|
+
- [`flags disable`](#flags-disable)
|
|
19
|
+
- [`flags enable`](#flags-enable)
|
|
20
|
+
- [`flags restore`](#flags-restore)
|
|
21
|
+
- [`flags archive`](#flags-archive)
|
|
22
|
+
- [`flags record-exposure`](#flags-record-exposure)
|
|
23
|
+
- [`flags get-snapshot`](#flags-get-snapshot)
|
|
24
|
+
- [`flags ofrep-server-bulk`](#flags-ofrep-server-bulk)
|
|
25
|
+
- [`flags ofrep-server-single`](#flags-ofrep-server-single)
|
|
26
|
+
|
|
7
27
|
## `flags` (alias: `flag`)
|
|
8
28
|
|
|
9
29
|
Manage feature flags (runtime config that changes without a redeploy)
|
|
@@ -14,12 +34,19 @@ Manage feature flags (runtime config that changes without a redeploy)
|
|
|
14
34
|
- `get` - Show a feature flag and its per-environment values
|
|
15
35
|
- `create` - Create a feature flag
|
|
16
36
|
- `update` - Update a flag definition (default value, description, visibility)
|
|
37
|
+
- `rules` - Targeting rules: serve a different value to some users, or to a percentage of them
|
|
38
|
+
- `evaluate` (`eval`) - Show what a user would get, and why, in one environment
|
|
39
|
+
- `reshuffle` - Draw new rollout buckets for every rollout and split of this flag (never during an experiment)
|
|
17
40
|
- `set` - Set a flag value in one environment
|
|
18
41
|
- `clear` - Clear a flag override so the environment inherits the default
|
|
19
42
|
- `disable` - Kill switch: serve the default in this environment, ignoring any override
|
|
20
43
|
- `enable` - Re-enable a flag in this environment after a kill switch
|
|
21
44
|
- `restore` - Restore an archived flag
|
|
22
45
|
- `archive` - Archive a flag (callers fall back to their own default)
|
|
46
|
+
- `record-exposure` - Record which flags a running app actually evaluated
|
|
47
|
+
- `get-snapshot` - Every flag for the caller's environment, collapsed to what the evaluator needs
|
|
48
|
+
- `ofrep-server-bulk` - OFREP bulk evaluation for server-side OpenFeature SDKs
|
|
49
|
+
- `ofrep-server-single` - OFREP single-flag evaluation for server-side OpenFeature SDKs
|
|
23
50
|
|
|
24
51
|
### `flags list` (alias: `ls`)
|
|
25
52
|
|
|
@@ -40,6 +67,8 @@ List feature flags
|
|
|
40
67
|
|
|
41
68
|
Show a feature flag and its per-environment values
|
|
42
69
|
|
|
70
|
+
**Usage:** `flags get <key> [options]`
|
|
71
|
+
|
|
43
72
|
**Options:**
|
|
44
73
|
|
|
45
74
|
| Flag | Description | Default | Required |
|
|
@@ -51,6 +80,8 @@ Show a feature flag and its per-environment values
|
|
|
51
80
|
|
|
52
81
|
Create a feature flag
|
|
53
82
|
|
|
83
|
+
**Usage:** `flags create <key> [options]`
|
|
84
|
+
|
|
54
85
|
**Options:**
|
|
55
86
|
|
|
56
87
|
| Flag | Description | Default | Required |
|
|
@@ -66,6 +97,8 @@ Create a feature flag
|
|
|
66
97
|
|
|
67
98
|
Update a flag definition (default value, description, visibility)
|
|
68
99
|
|
|
100
|
+
**Usage:** `flags update <key> [options]`
|
|
101
|
+
|
|
69
102
|
**Options:**
|
|
70
103
|
|
|
71
104
|
| Flag | Description | Default | Required |
|
|
@@ -75,12 +108,96 @@ Update a flag definition (default value, description, visibility)
|
|
|
75
108
|
| `--description <text>` | New description | - | No |
|
|
76
109
|
| `--client-visible` | Expose this flag to browsers | - | No |
|
|
77
110
|
| `--no-client-visible` | Make this flag server-only | - | No |
|
|
111
|
+
| `--variants <json\|@file>` | Replace the variants, as a JSON array of {key, value, description?} (or @path to a file) | - | No |
|
|
112
|
+
| `--exposure-rate <percent>` | Share of visitors (0-100) whose browser records a flag_exposure event; 0 turns it off | - | No |
|
|
113
|
+
| `--json` | Output in JSON format | - | No |
|
|
114
|
+
|
|
115
|
+
### `flags rules`
|
|
116
|
+
|
|
117
|
+
Targeting rules: serve a different value to some users, or to a percentage of them
|
|
118
|
+
|
|
119
|
+
**Subcommands:**
|
|
120
|
+
|
|
121
|
+
- `list` (`ls`) - Show the ordered rules of a flag in one environment
|
|
122
|
+
- `set` - Replace the rules of a flag in one environment, from a JSON array (or @path to a file, or - for stdin)
|
|
123
|
+
- `clear` - Remove every rule of a flag in one environment
|
|
124
|
+
|
|
125
|
+
#### `flags rules list` (alias: `ls`)
|
|
126
|
+
|
|
127
|
+
Show the ordered rules of a flag in one environment
|
|
128
|
+
|
|
129
|
+
**Usage:** `flags rules list <key> [options]`
|
|
130
|
+
|
|
131
|
+
**Options:**
|
|
132
|
+
|
|
133
|
+
| Flag | Description | Default | Required |
|
|
134
|
+
|------|-------------|---------|----------|
|
|
135
|
+
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
136
|
+
| `-e, --environment <name>` | Environment name or slug | - | Yes |
|
|
137
|
+
| `--json` | Output the rules as JSON (the format `rules set` reads) | - | No |
|
|
138
|
+
|
|
139
|
+
#### `flags rules set`
|
|
140
|
+
|
|
141
|
+
Replace the rules of a flag in one environment, from a JSON array (or @path to a file, or - for stdin)
|
|
142
|
+
|
|
143
|
+
**Usage:** `flags rules set <key> <rules> [options]`
|
|
144
|
+
|
|
145
|
+
**Options:**
|
|
146
|
+
|
|
147
|
+
| Flag | Description | Default | Required |
|
|
148
|
+
|------|-------------|---------|----------|
|
|
149
|
+
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
150
|
+
| `-e, --environment <name>` | Environment name or slug | - | Yes |
|
|
78
151
|
| `--json` | Output in JSON format | - | No |
|
|
79
152
|
|
|
153
|
+
#### `flags rules clear`
|
|
154
|
+
|
|
155
|
+
Remove every rule of a flag in one environment
|
|
156
|
+
|
|
157
|
+
**Usage:** `flags rules clear <key> [options]`
|
|
158
|
+
|
|
159
|
+
**Options:**
|
|
160
|
+
|
|
161
|
+
| Flag | Description | Default | Required |
|
|
162
|
+
|------|-------------|---------|----------|
|
|
163
|
+
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
164
|
+
| `-e, --environment <name>` | Environment name or slug | - | Yes |
|
|
165
|
+
|
|
166
|
+
### `flags evaluate` (alias: `eval`)
|
|
167
|
+
|
|
168
|
+
Show what a user would get, and why, in one environment
|
|
169
|
+
|
|
170
|
+
**Usage:** `flags evaluate <key> [options]`
|
|
171
|
+
|
|
172
|
+
**Options:**
|
|
173
|
+
|
|
174
|
+
| Flag | Description | Default | Required |
|
|
175
|
+
|------|-------------|---------|----------|
|
|
176
|
+
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
177
|
+
| `-e, --environment <name>` | Environment name or slug | - | Yes |
|
|
178
|
+
| `-s, --subject <key>` | Bucketing subject, e.g. a user id | - | No |
|
|
179
|
+
| `-a, --attr <name=value>` | Targeting attribute (repeatable) | `` | No |
|
|
180
|
+
| `--json` | Output in JSON format | - | No |
|
|
181
|
+
|
|
182
|
+
### `flags reshuffle`
|
|
183
|
+
|
|
184
|
+
Draw new rollout buckets for every rollout and split of this flag (never during an experiment)
|
|
185
|
+
|
|
186
|
+
**Usage:** `flags reshuffle <key> [options]`
|
|
187
|
+
|
|
188
|
+
**Options:**
|
|
189
|
+
|
|
190
|
+
| Flag | Description | Default | Required |
|
|
191
|
+
|------|-------------|---------|----------|
|
|
192
|
+
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
193
|
+
| `-y, --yes` | Skip the confirmation | - | No |
|
|
194
|
+
|
|
80
195
|
### `flags set`
|
|
81
196
|
|
|
82
197
|
Set a flag value in one environment
|
|
83
198
|
|
|
199
|
+
**Usage:** `flags set <key> <value> [options]`
|
|
200
|
+
|
|
84
201
|
**Options:**
|
|
85
202
|
|
|
86
203
|
| Flag | Description | Default | Required |
|
|
@@ -93,6 +210,8 @@ Set a flag value in one environment
|
|
|
93
210
|
|
|
94
211
|
Clear a flag override so the environment inherits the default
|
|
95
212
|
|
|
213
|
+
**Usage:** `flags clear <key> [options]`
|
|
214
|
+
|
|
96
215
|
**Options:**
|
|
97
216
|
|
|
98
217
|
| Flag | Description | Default | Required |
|
|
@@ -104,6 +223,8 @@ Clear a flag override so the environment inherits the default
|
|
|
104
223
|
|
|
105
224
|
Kill switch: serve the default in this environment, ignoring any override
|
|
106
225
|
|
|
226
|
+
**Usage:** `flags disable <key> [options]`
|
|
227
|
+
|
|
107
228
|
**Options:**
|
|
108
229
|
|
|
109
230
|
| Flag | Description | Default | Required |
|
|
@@ -115,6 +236,8 @@ Kill switch: serve the default in this environment, ignoring any override
|
|
|
115
236
|
|
|
116
237
|
Re-enable a flag in this environment after a kill switch
|
|
117
238
|
|
|
239
|
+
**Usage:** `flags enable <key> [options]`
|
|
240
|
+
|
|
118
241
|
**Options:**
|
|
119
242
|
|
|
120
243
|
| Flag | Description | Default | Required |
|
|
@@ -126,6 +249,8 @@ Re-enable a flag in this environment after a kill switch
|
|
|
126
249
|
|
|
127
250
|
Restore an archived flag
|
|
128
251
|
|
|
252
|
+
**Usage:** `flags restore <key> [options]`
|
|
253
|
+
|
|
129
254
|
**Options:**
|
|
130
255
|
|
|
131
256
|
| Flag | Description | Default | Required |
|
|
@@ -136,8 +261,62 @@ Restore an archived flag
|
|
|
136
261
|
|
|
137
262
|
Archive a flag (callers fall back to their own default)
|
|
138
263
|
|
|
264
|
+
**Usage:** `flags archive <key> [options]`
|
|
265
|
+
|
|
139
266
|
**Options:**
|
|
140
267
|
|
|
141
268
|
| Flag | Description | Default | Required |
|
|
142
269
|
|------|-------------|---------|----------|
|
|
143
270
|
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
271
|
+
|
|
272
|
+
### `flags record-exposure`
|
|
273
|
+
|
|
274
|
+
Record which flags a running app actually evaluated
|
|
275
|
+
|
|
276
|
+
**Options:**
|
|
277
|
+
|
|
278
|
+
| Flag | Description | Default | Required |
|
|
279
|
+
|------|-------------|---------|----------|
|
|
280
|
+
| `--keys <value>` | Flag keys evaluated since the last report (repeatable) [required] | - | No |
|
|
281
|
+
| `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
|
|
282
|
+
| `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
|
|
283
|
+
| `--json` | Output in JSON format | - | No |
|
|
284
|
+
|
|
285
|
+
### `flags get-snapshot`
|
|
286
|
+
|
|
287
|
+
Every flag for the caller's environment, collapsed to what the evaluator needs
|
|
288
|
+
|
|
289
|
+
**Options:**
|
|
290
|
+
|
|
291
|
+
| Flag | Description | Default | Required |
|
|
292
|
+
|------|-------------|---------|----------|
|
|
293
|
+
| `--environment-id <n>` | Required only when the calling token is project-wide rather than scoped to a single environment | - | No |
|
|
294
|
+
| `--json` | Output in JSON format | - | No |
|
|
295
|
+
|
|
296
|
+
### `flags ofrep-server-bulk`
|
|
297
|
+
|
|
298
|
+
OFREP bulk evaluation for server-side OpenFeature SDKs
|
|
299
|
+
|
|
300
|
+
**Options:**
|
|
301
|
+
|
|
302
|
+
| Flag | Description | Default | Required |
|
|
303
|
+
|------|-------------|---------|----------|
|
|
304
|
+
| `--context <json>` | Body field context (JSON) | - | No |
|
|
305
|
+
| `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
|
|
306
|
+
| `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
|
|
307
|
+
| `--json` | Output in JSON format | - | No |
|
|
308
|
+
|
|
309
|
+
### `flags ofrep-server-single`
|
|
310
|
+
|
|
311
|
+
OFREP single-flag evaluation for server-side OpenFeature SDKs
|
|
312
|
+
|
|
313
|
+
**Usage:** `flags ofrep-server-single <key> [options]`
|
|
314
|
+
|
|
315
|
+
**Options:**
|
|
316
|
+
|
|
317
|
+
| Flag | Description | Default | Required |
|
|
318
|
+
|------|-------------|---------|----------|
|
|
319
|
+
| `--context <json>` | Body field context (JSON) | - | No |
|
|
320
|
+
| `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
|
|
321
|
+
| `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
|
|
322
|
+
| `--json` | Output in JSON format | - | No |
|
|
@@ -10,22 +10,25 @@ Manage analytics funnels for projects
|
|
|
10
10
|
|
|
11
11
|
**Subcommands:**
|
|
12
12
|
|
|
13
|
-
- `list` (`ls`) - List
|
|
13
|
+
- `list` (`ls`) - List the funnels of a project, newest first
|
|
14
14
|
- `create` (`add`) - Create a new funnel for a project
|
|
15
15
|
- `update` - Update a funnel
|
|
16
16
|
- `remove` (`rm`) - Delete a funnel
|
|
17
17
|
- `metrics` - Get funnel metrics
|
|
18
18
|
- `preview` - Preview funnel metrics without saving
|
|
19
|
+
- `get-unique-events` - Get all unique/distinct event types for a project (paginated)
|
|
19
20
|
|
|
20
21
|
### `funnels list` (alias: `ls`)
|
|
21
22
|
|
|
22
|
-
List
|
|
23
|
+
List the funnels of a project, newest first
|
|
23
24
|
|
|
24
25
|
**Options:**
|
|
25
26
|
|
|
26
27
|
| Flag | Description | Default | Required |
|
|
27
28
|
|------|-------------|---------|----------|
|
|
28
29
|
| `--project-id <id>` | Project ID | - | Yes |
|
|
30
|
+
| `--page <n>` | Page number (default: 1) | - | No |
|
|
31
|
+
| `--page-size <n>` | Items per page (default: 20, max: 100) | - | No |
|
|
29
32
|
| `--json` | Output in JSON format | - | No |
|
|
30
33
|
|
|
31
34
|
### `funnels create` (alias: `add`)
|
|
@@ -78,6 +81,10 @@ Get funnel metrics
|
|
|
78
81
|
| `--project-id <id>` | Project ID | - | Yes |
|
|
79
82
|
| `--funnel-id <id>` | Funnel ID | - | Yes |
|
|
80
83
|
| `--json` | Output in JSON format | - | No |
|
|
84
|
+
| `--start-date <value>` | Window start (RFC 3339) | - | No |
|
|
85
|
+
| `--end-date <value>` | Window end (RFC 3339) | - | No |
|
|
86
|
+
| `--environment-id <n>` | Only this environment (an ID) | - | No |
|
|
87
|
+
| `--country-code <value>` | Only visitors from this country (ISO code, e.g. DE) | - | No |
|
|
81
88
|
|
|
82
89
|
### `funnels preview`
|
|
83
90
|
|
|
@@ -90,3 +97,16 @@ Preview funnel metrics without saving
|
|
|
90
97
|
| `--project-id <id>` | Project ID | - | Yes |
|
|
91
98
|
| `-s, --steps <json>` | Funnel steps as JSON array | - | Yes |
|
|
92
99
|
| `--json` | Output in JSON format | - | No |
|
|
100
|
+
|
|
101
|
+
### `funnels get-unique-events`
|
|
102
|
+
|
|
103
|
+
Get all unique/distinct event types for a project (paginated)
|
|
104
|
+
|
|
105
|
+
**Options:**
|
|
106
|
+
|
|
107
|
+
| Flag | Description | Default | Required |
|
|
108
|
+
|------|-------------|---------|----------|
|
|
109
|
+
| `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
|
|
110
|
+
| `--page <n>` | Page number (default: 1) | - | No |
|
|
111
|
+
| `--page-size <n>` | Items per page (default: 50, max: 100) | - | No |
|
|
112
|
+
| `--json` | Output in JSON format | - | No |
|
|
@@ -17,6 +17,7 @@ Manage incidents for status pages and monitoring
|
|
|
17
17
|
- `set-visibility` - Show or hide an incident update on published status pages
|
|
18
18
|
- `updates` - List status updates for an incident
|
|
19
19
|
- `bucketed` - Get bucketed incident data for a project
|
|
20
|
+
- `update` - Set or clear the heading an incident shows on published status pages
|
|
20
21
|
|
|
21
22
|
### `incidents list` (alias: `ls`)
|
|
22
23
|
|
|
@@ -45,6 +46,10 @@ Create a new incident
|
|
|
45
46
|
| `-t, --title <title>` | Incident title | - | No |
|
|
46
47
|
| `-d, --description <description>` | Incident description | - | No |
|
|
47
48
|
| `-s, --severity <severity>` | Severity level (critical, major, minor) | - | No |
|
|
49
|
+
| `--public-title <title>` | Headline shown on published status pages (the title stays internal) | - | No |
|
|
50
|
+
| `-m, --message <message>` | First update, written by you instead of the automatic one | - | No |
|
|
51
|
+
| `--public` | Post the first update to published status pages (needs --message) | - | No |
|
|
52
|
+
| `--monitor-id <id>` | Monitor (status page component) the incident affects; omit for the whole project | - | No |
|
|
48
53
|
| `-y, --yes` | Skip confirmation prompts (for automation) | - | No |
|
|
49
54
|
|
|
50
55
|
### `incidents show`
|
|
@@ -93,6 +98,8 @@ List status updates for an incident
|
|
|
93
98
|
| Flag | Description | Default | Required |
|
|
94
99
|
|------|-------------|---------|----------|
|
|
95
100
|
| `--id <id>` | Incident ID | - | Yes |
|
|
101
|
+
| `--page <n>` | Page number (default: 1) | - | No |
|
|
102
|
+
| `--page-size <n>` | Items per page (default: 20, max: 100) | - | No |
|
|
96
103
|
| `--json` | Output in JSON format | - | No |
|
|
97
104
|
|
|
98
105
|
### `incidents bucketed`
|
|
@@ -109,3 +116,18 @@ Get bucketed incident data for a project
|
|
|
109
116
|
| `--end-time <time>` | End time (ISO 8601) | - | No |
|
|
110
117
|
| `--environment-id <id>` | Filter by environment ID | - | No |
|
|
111
118
|
| `--json` | Output in JSON format | - | No |
|
|
119
|
+
|
|
120
|
+
### `incidents update`
|
|
121
|
+
|
|
122
|
+
Set or clear the heading an incident shows on published status pages
|
|
123
|
+
|
|
124
|
+
**Usage:** `incidents update <incident-id> [options]`
|
|
125
|
+
|
|
126
|
+
**Options:**
|
|
127
|
+
|
|
128
|
+
| Flag | Description | Default | Required |
|
|
129
|
+
|------|-------------|---------|----------|
|
|
130
|
+
| `--public-title <value>` | New public heading [required] | - | No |
|
|
131
|
+
| `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
|
|
132
|
+
| `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
|
|
133
|
+
| `--json` | Output in JSON format | - | No |
|
|
@@ -41,14 +41,20 @@ Add a new instance
|
|
|
41
41
|
|
|
42
42
|
Remove an instance
|
|
43
43
|
|
|
44
|
+
**Usage:** `instances remove <name>`
|
|
45
|
+
|
|
44
46
|
### `instances switch` (alias: `use`)
|
|
45
47
|
|
|
46
48
|
Switch to a different instance
|
|
47
49
|
|
|
50
|
+
**Usage:** `instances switch <name>`
|
|
51
|
+
|
|
48
52
|
### `instances show`
|
|
49
53
|
|
|
50
54
|
Show instance details (or current instance)
|
|
51
55
|
|
|
56
|
+
**Usage:** `instances show [name] [options]`
|
|
57
|
+
|
|
52
58
|
**Options:**
|
|
53
59
|
|
|
54
60
|
| Flag | Description | Default | Required |
|
|
@@ -32,6 +32,8 @@ List your recent template creations and imports, newest first
|
|
|
32
32
|
|
|
33
33
|
Show every step of a template creation or import
|
|
34
34
|
|
|
35
|
+
**Usage:** `instantiations show <id> [options]`
|
|
36
|
+
|
|
35
37
|
**Options:**
|
|
36
38
|
|
|
37
39
|
| Flag | Description | Default | Required |
|
|
@@ -44,6 +46,8 @@ Show every step of a template creation or import
|
|
|
44
46
|
|
|
45
47
|
Continue from the step that failed; finished steps are not repeated
|
|
46
48
|
|
|
49
|
+
**Usage:** `instantiations retry <id> [options]`
|
|
50
|
+
|
|
47
51
|
**Options:**
|
|
48
52
|
|
|
49
53
|
| Flag | Description | Default | Required |
|
|
@@ -17,6 +17,7 @@ Manage instance-wide IP access control rules, and per-project lists (ip-access p
|
|
|
17
17
|
- `remove` (`rm`) - Delete an IP access control rule
|
|
18
18
|
- `check` - Check if an IP address is blocked
|
|
19
19
|
- `project` - Allow or deny IP ranges for one project or environment
|
|
20
|
+
- `sessions` - Sessions commands
|
|
20
21
|
|
|
21
22
|
### `ip-access list` (alias: `ls`)
|
|
22
23
|
|
|
@@ -39,7 +40,9 @@ Create a new IP access control rule
|
|
|
39
40
|
| `--ip <ip_or_cidr>` | IPv4 or IPv6 address or CIDR range (e.g., "192.168.1.1", "10.0.0.0/24", or "2001:db8::/32") | - | No |
|
|
40
41
|
| `--action <action>` | Action to take: "allow" or "deny" | - | No |
|
|
41
42
|
| `--description <desc>` | Optional description/reason for the rule | - | No |
|
|
42
|
-
|
|
|
43
|
+
| `--confirm-broad-range` | Save a block range wider than /8 (IPv4) or /16 (IPv6) | - | No |
|
|
44
|
+
| `--acknowledge-lockout` | Save a block rule even if it matches the address you are calling from | - | No |
|
|
45
|
+
| `-y, --yes` | Skip prompts (for automation); does not confirm a broad range or a lockout | - | No |
|
|
43
46
|
|
|
44
47
|
### `ip-access show`
|
|
45
48
|
|
|
@@ -64,6 +67,8 @@ Update an IP access control rule
|
|
|
64
67
|
| `--ip <ip>` | New IP address or CIDR range | - | No |
|
|
65
68
|
| `--action <action>` | New action: "allow" or "deny" | - | No |
|
|
66
69
|
| `--description <desc>` | New description/reason | - | No |
|
|
70
|
+
| `--confirm-broad-range` | Save a block range wider than /8 (IPv4) or /16 (IPv6) | - | No |
|
|
71
|
+
| `--acknowledge-lockout` | Save a block rule even if it matches the address you are calling from | - | No |
|
|
67
72
|
|
|
68
73
|
### `ip-access remove` (alias: `rm`)
|
|
69
74
|
|
|
@@ -151,3 +156,93 @@ Check whether an address would be allowed
|
|
|
151
156
|
| `--environment-id <id>` | Environment ID (omit for the project-wide list) | - | No |
|
|
152
157
|
| `--ip <ip>` | Address to evaluate | - | Yes |
|
|
153
158
|
| `--json` | Output in JSON format | - | No |
|
|
159
|
+
|
|
160
|
+
### `ip-access sessions`
|
|
161
|
+
|
|
162
|
+
Sessions commands
|
|
163
|
+
|
|
164
|
+
**Subcommands:**
|
|
165
|
+
|
|
166
|
+
- `list-providers` - The saved Cloudflare Access tokens
|
|
167
|
+
- `create-provider` - Check a Cloudflare Access token, then save it sealed
|
|
168
|
+
- `check-provider` - Check which Cloudflare Access permissions a pasted token has: Access: Apps and Policies Edit (probed with..
|
|
169
|
+
- `delete-provider` - Delete a saved Cloudflare Access token
|
|
170
|
+
- `sign-out-of-apps` - Sign out of every signed-in address
|
|
171
|
+
- `sign-everyone-out-of-address` - Sign everyone out of a signed-in address
|
|
172
|
+
|
|
173
|
+
#### `ip-access sessions list-providers`
|
|
174
|
+
|
|
175
|
+
The saved Cloudflare Access tokens
|
|
176
|
+
|
|
177
|
+
**Options:**
|
|
178
|
+
|
|
179
|
+
| Flag | Description | Default | Required |
|
|
180
|
+
|------|-------------|---------|----------|
|
|
181
|
+
| `--json` | Output in JSON format | - | No |
|
|
182
|
+
|
|
183
|
+
#### `ip-access sessions create-provider`
|
|
184
|
+
|
|
185
|
+
Check a Cloudflare Access token, then save it sealed
|
|
186
|
+
|
|
187
|
+
**Options:**
|
|
188
|
+
|
|
189
|
+
| Flag | Description | Default | Required |
|
|
190
|
+
|------|-------------|---------|----------|
|
|
191
|
+
| `--account-id <value>` | Body field account_id [required] | - | No |
|
|
192
|
+
| `--name <value>` | A name to tell tokens apart [required] | - | No |
|
|
193
|
+
| `--token-stdin` | Checked, then sealed; never returned [required] (read from stdin) | - | No |
|
|
194
|
+
| `--token-file <path>` | Checked, then sealed; never returned [required] (read from a file) | - | No |
|
|
195
|
+
| `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
|
|
196
|
+
| `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
|
|
197
|
+
| `--json` | Output in JSON format | - | No |
|
|
198
|
+
|
|
199
|
+
#### `ip-access sessions check-provider`
|
|
200
|
+
|
|
201
|
+
Check which Cloudflare Access permissions a pasted token has: Access: Apps and Policies Edit (probed with..
|
|
202
|
+
|
|
203
|
+
**Options:**
|
|
204
|
+
|
|
205
|
+
| Flag | Description | Default | Required |
|
|
206
|
+
|------|-------------|---------|----------|
|
|
207
|
+
| `--account-id <value>` | The Cloudflare account the Access applications live in (32 hex characters, from the dashboard URL or the... [required] | - | No |
|
|
208
|
+
| `--token-stdin` | The token, as pasted [required] (read from stdin) | - | No |
|
|
209
|
+
| `--token-file <path>` | The token, as pasted [required] (read from a file) | - | No |
|
|
210
|
+
| `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
|
|
211
|
+
| `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
|
|
212
|
+
| `--json` | Output in JSON format | - | No |
|
|
213
|
+
|
|
214
|
+
#### `ip-access sessions delete-provider`
|
|
215
|
+
|
|
216
|
+
Delete a saved Cloudflare Access token
|
|
217
|
+
|
|
218
|
+
**Usage:** `ip-access sessions delete-provider <provider-id> [options]`
|
|
219
|
+
|
|
220
|
+
**Options:**
|
|
221
|
+
|
|
222
|
+
| Flag | Description | Default | Required |
|
|
223
|
+
|------|-------------|---------|----------|
|
|
224
|
+
| `-y, --yes` | Do not ask for confirmation | - | No |
|
|
225
|
+
| `--json` | Output in JSON format | - | No |
|
|
226
|
+
|
|
227
|
+
#### `ip-access sessions sign-out-of-apps`
|
|
228
|
+
|
|
229
|
+
Sign out of every signed-in address
|
|
230
|
+
|
|
231
|
+
**Options:**
|
|
232
|
+
|
|
233
|
+
| Flag | Description | Default | Required |
|
|
234
|
+
|------|-------------|---------|----------|
|
|
235
|
+
| `--json` | Output in JSON format | - | No |
|
|
236
|
+
|
|
237
|
+
#### `ip-access sessions sign-everyone-out-of-address`
|
|
238
|
+
|
|
239
|
+
Sign everyone out of a signed-in address
|
|
240
|
+
|
|
241
|
+
**Usage:** `ip-access sessions sign-everyone-out-of-address <address-id> [options]`
|
|
242
|
+
|
|
243
|
+
**Options:**
|
|
244
|
+
|
|
245
|
+
| Flag | Description | Default | Required |
|
|
246
|
+
|------|-------------|---------|----------|
|
|
247
|
+
| `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
|
|
248
|
+
| `--json` | Output in JSON format | - | No |
|