@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,63 @@
|
|
|
1
|
+
<!-- Generated from skills/temps-cli/references/COMMANDS.md. Do not edit manually. -->
|
|
2
|
+
|
|
3
|
+
# `facets` command reference
|
|
4
|
+
|
|
5
|
+
Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing a command. Runtime `--help` is authoritative.
|
|
6
|
+
|
|
7
|
+
## `facets`
|
|
8
|
+
|
|
9
|
+
Manage OTel span attribute facets — attribute keys promoted to a fast-filterable column (ClickHouse or TimescaleDB, whichever backend is active; see ADR-039). Facets are platform-global, not per-project, since the underlying spans table is shared across every project. Historical backfill runs asynchronously — check `temps facets list` for status.
|
|
10
|
+
|
|
11
|
+
**Subcommands:**
|
|
12
|
+
|
|
13
|
+
- `list` (`ls`) - List registered span attribute facets
|
|
14
|
+
- `create` - 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.
|
|
15
|
+
- `remove` (`rm`) - Remove a registered facet, freeing its slot for reuse
|
|
16
|
+
- `retry` - 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.
|
|
17
|
+
|
|
18
|
+
### `facets list` (alias: `ls`)
|
|
19
|
+
|
|
20
|
+
List registered span attribute facets
|
|
21
|
+
|
|
22
|
+
**Options:**
|
|
23
|
+
|
|
24
|
+
| Flag | Description | Default | Required |
|
|
25
|
+
|------|-------------|---------|----------|
|
|
26
|
+
| `--json` | Output in JSON format | - | No |
|
|
27
|
+
|
|
28
|
+
### `facets create`
|
|
29
|
+
|
|
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
|
+
|
|
32
|
+
**Usage:** `facets create <attribute-key> [options]`
|
|
33
|
+
|
|
34
|
+
**Options:**
|
|
35
|
+
|
|
36
|
+
| Flag | Description | Default | Required |
|
|
37
|
+
|------|-------------|---------|----------|
|
|
38
|
+
| `--json` | Output in JSON format | - | No |
|
|
39
|
+
|
|
40
|
+
### `facets remove` (alias: `rm`)
|
|
41
|
+
|
|
42
|
+
Remove a registered facet, freeing its slot for reuse
|
|
43
|
+
|
|
44
|
+
**Usage:** `facets remove <attribute-key> [options]`
|
|
45
|
+
|
|
46
|
+
**Options:**
|
|
47
|
+
|
|
48
|
+
| Flag | Description | Default | Required |
|
|
49
|
+
|------|-------------|---------|----------|
|
|
50
|
+
| `-f, --force` | Skip confirmation | - | No |
|
|
51
|
+
| `-y, --yes` | Skip confirmation prompts (alias for --force) | - | No |
|
|
52
|
+
|
|
53
|
+
### `facets retry`
|
|
54
|
+
|
|
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.
|
|
56
|
+
|
|
57
|
+
**Usage:** `facets retry <attribute-key> [options]`
|
|
58
|
+
|
|
59
|
+
**Options:**
|
|
60
|
+
|
|
61
|
+
| Flag | Description | Default | Required |
|
|
62
|
+
|------|-------------|---------|----------|
|
|
63
|
+
| `--json` | Output in JSON format | - | No |
|
|
@@ -0,0 +1,246 @@
|
|
|
1
|
+
<!-- Generated from skills/temps-cli/references/COMMANDS.md. Do not edit manually. -->
|
|
2
|
+
|
|
3
|
+
# `flags` command reference
|
|
4
|
+
|
|
5
|
+
Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing a command. Runtime `--help` is authoritative.
|
|
6
|
+
|
|
7
|
+
## `flags` (alias: `flag`)
|
|
8
|
+
|
|
9
|
+
Manage feature flags (runtime config that changes without a redeploy)
|
|
10
|
+
|
|
11
|
+
**Subcommands:**
|
|
12
|
+
|
|
13
|
+
- `list` (`ls`) - List feature flags
|
|
14
|
+
- `get` - Show a feature flag and its per-environment values
|
|
15
|
+
- `create` - Create a feature flag
|
|
16
|
+
- `update` - Update a flag definition (default value, description, visibility)
|
|
17
|
+
- `rules` - Targeting rules: serve a different value to some users, or to a percentage of them
|
|
18
|
+
- `evaluate` (`eval`) - Show what a user would get, and why, in one environment
|
|
19
|
+
- `reshuffle` - Draw new rollout buckets for every rollout and split of this flag (never during an experiment)
|
|
20
|
+
- `set` - Set a flag value in one environment
|
|
21
|
+
- `clear` - Clear a flag override so the environment inherits the default
|
|
22
|
+
- `disable` - Kill switch: serve the default in this environment, ignoring any override
|
|
23
|
+
- `enable` - Re-enable a flag in this environment after a kill switch
|
|
24
|
+
- `restore` - Restore an archived flag
|
|
25
|
+
- `archive` - Archive a flag (callers fall back to their own default)
|
|
26
|
+
|
|
27
|
+
### `flags list` (alias: `ls`)
|
|
28
|
+
|
|
29
|
+
List feature flags
|
|
30
|
+
|
|
31
|
+
**Options:**
|
|
32
|
+
|
|
33
|
+
| Flag | Description | Default | Required |
|
|
34
|
+
|------|-------------|---------|----------|
|
|
35
|
+
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
36
|
+
| `-e, --environment <name>` | Show values for this environment | - | No |
|
|
37
|
+
| `--include-archived` | Include archived flags | - | No |
|
|
38
|
+
| `--page <n>` | Page number (default: 1) | - | No |
|
|
39
|
+
| `--page-size <n>` | Items per page (default: 20, max: 100) | - | No |
|
|
40
|
+
| `--json` | Output in JSON format | - | No |
|
|
41
|
+
|
|
42
|
+
### `flags get`
|
|
43
|
+
|
|
44
|
+
Show a feature flag and its per-environment values
|
|
45
|
+
|
|
46
|
+
**Usage:** `flags get <key> [options]`
|
|
47
|
+
|
|
48
|
+
**Options:**
|
|
49
|
+
|
|
50
|
+
| Flag | Description | Default | Required |
|
|
51
|
+
|------|-------------|---------|----------|
|
|
52
|
+
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
53
|
+
| `--json` | Output in JSON format | - | No |
|
|
54
|
+
|
|
55
|
+
### `flags create`
|
|
56
|
+
|
|
57
|
+
Create a feature flag
|
|
58
|
+
|
|
59
|
+
**Usage:** `flags create <key> [options]`
|
|
60
|
+
|
|
61
|
+
**Options:**
|
|
62
|
+
|
|
63
|
+
| Flag | Description | Default | Required |
|
|
64
|
+
|------|-------------|---------|----------|
|
|
65
|
+
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
66
|
+
| `-t, --type <type>` | Value type: bool, string, number, or json | - | Yes |
|
|
67
|
+
| `-d, --default <value>` | Default value, served when nothing more specific applies | - | Yes |
|
|
68
|
+
| `--description <text>` | What this flag controls | - | No |
|
|
69
|
+
| `--client-visible` | Allow this flag to be exposed to browsers (default: server-only) | - | No |
|
|
70
|
+
| `--json` | Output in JSON format | - | No |
|
|
71
|
+
|
|
72
|
+
### `flags update`
|
|
73
|
+
|
|
74
|
+
Update a flag definition (default value, description, visibility)
|
|
75
|
+
|
|
76
|
+
**Usage:** `flags update <key> [options]`
|
|
77
|
+
|
|
78
|
+
**Options:**
|
|
79
|
+
|
|
80
|
+
| Flag | Description | Default | Required |
|
|
81
|
+
|------|-------------|---------|----------|
|
|
82
|
+
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
83
|
+
| `-d, --default <value>` | New default value | - | No |
|
|
84
|
+
| `--description <text>` | New description | - | No |
|
|
85
|
+
| `--client-visible` | Expose this flag to browsers | - | No |
|
|
86
|
+
| `--no-client-visible` | Make this flag server-only | - | No |
|
|
87
|
+
| `--variants <json\|@file>` | Replace the variants, as a JSON array of {key, value, description?} (or @path to a file) | - | No |
|
|
88
|
+
| `--exposure-rate <percent>` | Share of visitors (0-100) whose browser records a flag_exposure event; 0 turns it off | - | No |
|
|
89
|
+
| `--json` | Output in JSON format | - | No |
|
|
90
|
+
|
|
91
|
+
### `flags rules`
|
|
92
|
+
|
|
93
|
+
Targeting rules: serve a different value to some users, or to a percentage of them
|
|
94
|
+
|
|
95
|
+
**Subcommands:**
|
|
96
|
+
|
|
97
|
+
- `list` (`ls`) - Show the ordered rules of a flag in one environment
|
|
98
|
+
- `set` - Replace the rules of a flag in one environment, from a JSON array (or @path to a file, or - for stdin)
|
|
99
|
+
- `clear` - Remove every rule of a flag in one environment
|
|
100
|
+
|
|
101
|
+
#### `flags rules list` (alias: `ls`)
|
|
102
|
+
|
|
103
|
+
Show the ordered rules of a flag in one environment
|
|
104
|
+
|
|
105
|
+
**Usage:** `flags rules list <key> [options]`
|
|
106
|
+
|
|
107
|
+
**Options:**
|
|
108
|
+
|
|
109
|
+
| Flag | Description | Default | Required |
|
|
110
|
+
|------|-------------|---------|----------|
|
|
111
|
+
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
112
|
+
| `-e, --environment <name>` | Environment name or slug | - | Yes |
|
|
113
|
+
| `--json` | Output the rules as JSON (the format `rules set` reads) | - | No |
|
|
114
|
+
|
|
115
|
+
#### `flags rules set`
|
|
116
|
+
|
|
117
|
+
Replace the rules of a flag in one environment, from a JSON array (or @path to a file, or - for stdin)
|
|
118
|
+
|
|
119
|
+
**Usage:** `flags rules set <key> <rules> [options]`
|
|
120
|
+
|
|
121
|
+
**Options:**
|
|
122
|
+
|
|
123
|
+
| Flag | Description | Default | Required |
|
|
124
|
+
|------|-------------|---------|----------|
|
|
125
|
+
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
126
|
+
| `-e, --environment <name>` | Environment name or slug | - | Yes |
|
|
127
|
+
| `--json` | Output in JSON format | - | No |
|
|
128
|
+
|
|
129
|
+
#### `flags rules clear`
|
|
130
|
+
|
|
131
|
+
Remove every rule of a flag in one environment
|
|
132
|
+
|
|
133
|
+
**Usage:** `flags rules clear <key> [options]`
|
|
134
|
+
|
|
135
|
+
**Options:**
|
|
136
|
+
|
|
137
|
+
| Flag | Description | Default | Required |
|
|
138
|
+
|------|-------------|---------|----------|
|
|
139
|
+
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
140
|
+
| `-e, --environment <name>` | Environment name or slug | - | Yes |
|
|
141
|
+
|
|
142
|
+
### `flags evaluate` (alias: `eval`)
|
|
143
|
+
|
|
144
|
+
Show what a user would get, and why, in one environment
|
|
145
|
+
|
|
146
|
+
**Usage:** `flags evaluate <key> [options]`
|
|
147
|
+
|
|
148
|
+
**Options:**
|
|
149
|
+
|
|
150
|
+
| Flag | Description | Default | Required |
|
|
151
|
+
|------|-------------|---------|----------|
|
|
152
|
+
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
153
|
+
| `-e, --environment <name>` | Environment name or slug | - | Yes |
|
|
154
|
+
| `-s, --subject <key>` | Bucketing subject, e.g. a user id | - | No |
|
|
155
|
+
| `-a, --attr <name=value>` | Targeting attribute (repeatable) | `` | No |
|
|
156
|
+
| `--json` | Output in JSON format | - | No |
|
|
157
|
+
|
|
158
|
+
### `flags reshuffle`
|
|
159
|
+
|
|
160
|
+
Draw new rollout buckets for every rollout and split of this flag (never during an experiment)
|
|
161
|
+
|
|
162
|
+
**Usage:** `flags reshuffle <key> [options]`
|
|
163
|
+
|
|
164
|
+
**Options:**
|
|
165
|
+
|
|
166
|
+
| Flag | Description | Default | Required |
|
|
167
|
+
|------|-------------|---------|----------|
|
|
168
|
+
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
169
|
+
| `-y, --yes` | Skip the confirmation | - | No |
|
|
170
|
+
|
|
171
|
+
### `flags set`
|
|
172
|
+
|
|
173
|
+
Set a flag value in one environment
|
|
174
|
+
|
|
175
|
+
**Usage:** `flags set <key> <value> [options]`
|
|
176
|
+
|
|
177
|
+
**Options:**
|
|
178
|
+
|
|
179
|
+
| Flag | Description | Default | Required |
|
|
180
|
+
|------|-------------|---------|----------|
|
|
181
|
+
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
182
|
+
| `-e, --environment <name>` | Environment name or slug | - | Yes |
|
|
183
|
+
| `--json` | Output in JSON format | - | No |
|
|
184
|
+
|
|
185
|
+
### `flags clear`
|
|
186
|
+
|
|
187
|
+
Clear a flag override so the environment inherits the default
|
|
188
|
+
|
|
189
|
+
**Usage:** `flags clear <key> [options]`
|
|
190
|
+
|
|
191
|
+
**Options:**
|
|
192
|
+
|
|
193
|
+
| Flag | Description | Default | Required |
|
|
194
|
+
|------|-------------|---------|----------|
|
|
195
|
+
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
196
|
+
| `-e, --environment <name>` | Environment name or slug | - | Yes |
|
|
197
|
+
|
|
198
|
+
### `flags disable`
|
|
199
|
+
|
|
200
|
+
Kill switch: serve the default in this environment, ignoring any override
|
|
201
|
+
|
|
202
|
+
**Usage:** `flags disable <key> [options]`
|
|
203
|
+
|
|
204
|
+
**Options:**
|
|
205
|
+
|
|
206
|
+
| Flag | Description | Default | Required |
|
|
207
|
+
|------|-------------|---------|----------|
|
|
208
|
+
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
209
|
+
| `-e, --environment <name>` | Environment name or slug | - | Yes |
|
|
210
|
+
|
|
211
|
+
### `flags enable`
|
|
212
|
+
|
|
213
|
+
Re-enable a flag in this environment after a kill switch
|
|
214
|
+
|
|
215
|
+
**Usage:** `flags enable <key> [options]`
|
|
216
|
+
|
|
217
|
+
**Options:**
|
|
218
|
+
|
|
219
|
+
| Flag | Description | Default | Required |
|
|
220
|
+
|------|-------------|---------|----------|
|
|
221
|
+
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
222
|
+
| `-e, --environment <name>` | Environment name or slug | - | Yes |
|
|
223
|
+
|
|
224
|
+
### `flags restore`
|
|
225
|
+
|
|
226
|
+
Restore an archived flag
|
|
227
|
+
|
|
228
|
+
**Usage:** `flags restore <key> [options]`
|
|
229
|
+
|
|
230
|
+
**Options:**
|
|
231
|
+
|
|
232
|
+
| Flag | Description | Default | Required |
|
|
233
|
+
|------|-------------|---------|----------|
|
|
234
|
+
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
235
|
+
|
|
236
|
+
### `flags archive`
|
|
237
|
+
|
|
238
|
+
Archive a flag (callers fall back to their own default)
|
|
239
|
+
|
|
240
|
+
**Usage:** `flags archive <key> [options]`
|
|
241
|
+
|
|
242
|
+
**Options:**
|
|
243
|
+
|
|
244
|
+
| Flag | Description | Default | Required |
|
|
245
|
+
|------|-------------|---------|----------|
|
|
246
|
+
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
<!-- Generated from skills/temps-cli/references/COMMANDS.md. Do not edit manually. -->
|
|
2
|
+
|
|
3
|
+
# `funnels` command reference
|
|
4
|
+
|
|
5
|
+
Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing a command. Runtime `--help` is authoritative.
|
|
6
|
+
|
|
7
|
+
## `funnels` (alias: `funnel`)
|
|
8
|
+
|
|
9
|
+
Manage analytics funnels for projects
|
|
10
|
+
|
|
11
|
+
**Subcommands:**
|
|
12
|
+
|
|
13
|
+
- `list` (`ls`) - List all funnels for a project
|
|
14
|
+
- `create` (`add`) - Create a new funnel for a project
|
|
15
|
+
- `update` - Update a funnel
|
|
16
|
+
- `remove` (`rm`) - Delete a funnel
|
|
17
|
+
- `metrics` - Get funnel metrics
|
|
18
|
+
- `preview` - Preview funnel metrics without saving
|
|
19
|
+
|
|
20
|
+
### `funnels list` (alias: `ls`)
|
|
21
|
+
|
|
22
|
+
List all funnels for a project
|
|
23
|
+
|
|
24
|
+
**Options:**
|
|
25
|
+
|
|
26
|
+
| Flag | Description | Default | Required |
|
|
27
|
+
|------|-------------|---------|----------|
|
|
28
|
+
| `--project-id <id>` | Project ID | - | Yes |
|
|
29
|
+
| `--json` | Output in JSON format | - | No |
|
|
30
|
+
|
|
31
|
+
### `funnels create` (alias: `add`)
|
|
32
|
+
|
|
33
|
+
Create a new funnel for a project
|
|
34
|
+
|
|
35
|
+
**Options:**
|
|
36
|
+
|
|
37
|
+
| Flag | Description | Default | Required |
|
|
38
|
+
|------|-------------|---------|----------|
|
|
39
|
+
| `--project-id <id>` | Project ID | - | Yes |
|
|
40
|
+
| `-n, --name <name>` | Funnel name | - | No |
|
|
41
|
+
| `-s, --steps <json>` | Funnel steps as JSON array (e.g. '[{"event_name":"page_view"},{"event_name":"signup"}]') | - | No |
|
|
42
|
+
| `-y, --yes` | Skip confirmation prompts (for automation) | - | No |
|
|
43
|
+
|
|
44
|
+
### `funnels update`
|
|
45
|
+
|
|
46
|
+
Update a funnel
|
|
47
|
+
|
|
48
|
+
**Options:**
|
|
49
|
+
|
|
50
|
+
| Flag | Description | Default | Required |
|
|
51
|
+
|------|-------------|---------|----------|
|
|
52
|
+
| `--project-id <id>` | Project ID | - | Yes |
|
|
53
|
+
| `--funnel-id <id>` | Funnel ID | - | Yes |
|
|
54
|
+
| `-n, --name <name>` | New funnel name | - | No |
|
|
55
|
+
| `-s, --steps <json>` | New funnel steps as JSON array | - | No |
|
|
56
|
+
|
|
57
|
+
### `funnels remove` (alias: `rm`)
|
|
58
|
+
|
|
59
|
+
Delete a funnel
|
|
60
|
+
|
|
61
|
+
**Options:**
|
|
62
|
+
|
|
63
|
+
| Flag | Description | Default | Required |
|
|
64
|
+
|------|-------------|---------|----------|
|
|
65
|
+
| `--project-id <id>` | Project ID | - | Yes |
|
|
66
|
+
| `--funnel-id <id>` | Funnel ID | - | Yes |
|
|
67
|
+
| `-f, --force` | Skip confirmation | - | No |
|
|
68
|
+
| `-y, --yes` | Skip confirmation prompts (alias for --force) | - | No |
|
|
69
|
+
|
|
70
|
+
### `funnels metrics`
|
|
71
|
+
|
|
72
|
+
Get funnel metrics
|
|
73
|
+
|
|
74
|
+
**Options:**
|
|
75
|
+
|
|
76
|
+
| Flag | Description | Default | Required |
|
|
77
|
+
|------|-------------|---------|----------|
|
|
78
|
+
| `--project-id <id>` | Project ID | - | Yes |
|
|
79
|
+
| `--funnel-id <id>` | Funnel ID | - | Yes |
|
|
80
|
+
| `--json` | Output in JSON format | - | No |
|
|
81
|
+
|
|
82
|
+
### `funnels preview`
|
|
83
|
+
|
|
84
|
+
Preview funnel metrics without saving
|
|
85
|
+
|
|
86
|
+
**Options:**
|
|
87
|
+
|
|
88
|
+
| Flag | Description | Default | Required |
|
|
89
|
+
|------|-------------|---------|----------|
|
|
90
|
+
| `--project-id <id>` | Project ID | - | Yes |
|
|
91
|
+
| `-s, --steps <json>` | Funnel steps as JSON array | - | Yes |
|
|
92
|
+
| `--json` | Output in JSON format | - | No |
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
<!-- Generated from skills/temps-cli/references/COMMANDS.md. Do not edit manually. -->
|
|
2
|
+
|
|
3
|
+
# `incidents` command reference
|
|
4
|
+
|
|
5
|
+
Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing a command. Runtime `--help` is authoritative.
|
|
6
|
+
|
|
7
|
+
## `incidents` (alias: `incident`)
|
|
8
|
+
|
|
9
|
+
Manage incidents for status pages and monitoring
|
|
10
|
+
|
|
11
|
+
**Subcommands:**
|
|
12
|
+
|
|
13
|
+
- `list` (`ls`) - List incidents for a project
|
|
14
|
+
- `create` (`add`) - Create a new incident
|
|
15
|
+
- `show` - Show incident details
|
|
16
|
+
- `update-status` - Update an incident status
|
|
17
|
+
- `set-visibility` - Show or hide an incident update on published status pages
|
|
18
|
+
- `updates` - List status updates for an incident
|
|
19
|
+
- `bucketed` - Get bucketed incident data for a project
|
|
20
|
+
|
|
21
|
+
### `incidents list` (alias: `ls`)
|
|
22
|
+
|
|
23
|
+
List incidents for a project
|
|
24
|
+
|
|
25
|
+
**Options:**
|
|
26
|
+
|
|
27
|
+
| Flag | Description | Default | Required |
|
|
28
|
+
|------|-------------|---------|----------|
|
|
29
|
+
| `--project-id <id>` | Project ID | - | Yes |
|
|
30
|
+
| `--status <status>` | Filter by status (investigating, identified, monitoring, resolved) | - | No |
|
|
31
|
+
| `--environment-id <id>` | Filter by environment ID | - | No |
|
|
32
|
+
| `--page <n>` | Page number | - | No |
|
|
33
|
+
| `--page-size <n>` | Items per page | - | No |
|
|
34
|
+
| `--json` | Output in JSON format | - | No |
|
|
35
|
+
|
|
36
|
+
### `incidents create` (alias: `add`)
|
|
37
|
+
|
|
38
|
+
Create a new incident
|
|
39
|
+
|
|
40
|
+
**Options:**
|
|
41
|
+
|
|
42
|
+
| Flag | Description | Default | Required |
|
|
43
|
+
|------|-------------|---------|----------|
|
|
44
|
+
| `--project-id <id>` | Project ID | - | Yes |
|
|
45
|
+
| `-t, --title <title>` | Incident title | - | No |
|
|
46
|
+
| `-d, --description <description>` | Incident description | - | No |
|
|
47
|
+
| `-s, --severity <severity>` | Severity level (critical, major, minor) | - | No |
|
|
48
|
+
| `--public-title <title>` | Headline shown on published status pages (the title stays internal) | - | No |
|
|
49
|
+
| `-m, --message <message>` | First update, written by you instead of the automatic one | - | No |
|
|
50
|
+
| `--public` | Post the first update to published status pages (needs --message) | - | No |
|
|
51
|
+
| `--monitor-id <id>` | Monitor (status page component) the incident affects; omit for the whole project | - | No |
|
|
52
|
+
| `-y, --yes` | Skip confirmation prompts (for automation) | - | No |
|
|
53
|
+
|
|
54
|
+
### `incidents show`
|
|
55
|
+
|
|
56
|
+
Show incident details
|
|
57
|
+
|
|
58
|
+
**Options:**
|
|
59
|
+
|
|
60
|
+
| Flag | Description | Default | Required |
|
|
61
|
+
|------|-------------|---------|----------|
|
|
62
|
+
| `--id <id>` | Incident ID | - | Yes |
|
|
63
|
+
| `--json` | Output in JSON format | - | No |
|
|
64
|
+
|
|
65
|
+
### `incidents update-status`
|
|
66
|
+
|
|
67
|
+
Update an incident status
|
|
68
|
+
|
|
69
|
+
**Options:**
|
|
70
|
+
|
|
71
|
+
| Flag | Description | Default | Required |
|
|
72
|
+
|------|-------------|---------|----------|
|
|
73
|
+
| `--id <id>` | Incident ID | - | Yes |
|
|
74
|
+
| `-s, --status <status>` | New status (investigating, identified, monitoring, resolved) | - | No |
|
|
75
|
+
| `-m, --message <message>` | Status update message | - | No |
|
|
76
|
+
| `--public` | Show this update on published status pages (private by default) | - | No |
|
|
77
|
+
|
|
78
|
+
### `incidents set-visibility`
|
|
79
|
+
|
|
80
|
+
Show or hide an incident update on published status pages
|
|
81
|
+
|
|
82
|
+
**Options:**
|
|
83
|
+
|
|
84
|
+
| Flag | Description | Default | Required |
|
|
85
|
+
|------|-------------|---------|----------|
|
|
86
|
+
| `--id <id>` | Incident ID | - | Yes |
|
|
87
|
+
| `--update-id <id>` | Incident update ID (see `incidents updates`) | - | Yes |
|
|
88
|
+
| `--public` | Show the update on published status pages | - | No |
|
|
89
|
+
| `--private` | Hide the update from published status pages | - | No |
|
|
90
|
+
|
|
91
|
+
### `incidents updates`
|
|
92
|
+
|
|
93
|
+
List status updates for an incident
|
|
94
|
+
|
|
95
|
+
**Options:**
|
|
96
|
+
|
|
97
|
+
| Flag | Description | Default | Required |
|
|
98
|
+
|------|-------------|---------|----------|
|
|
99
|
+
| `--id <id>` | Incident ID | - | Yes |
|
|
100
|
+
| `--json` | Output in JSON format | - | No |
|
|
101
|
+
|
|
102
|
+
### `incidents bucketed`
|
|
103
|
+
|
|
104
|
+
Get bucketed incident data for a project
|
|
105
|
+
|
|
106
|
+
**Options:**
|
|
107
|
+
|
|
108
|
+
| Flag | Description | Default | Required |
|
|
109
|
+
|------|-------------|---------|----------|
|
|
110
|
+
| `--project-id <id>` | Project ID | - | Yes |
|
|
111
|
+
| `-i, --interval <interval>` | Bucket interval: 5min, hourly, daily (default: hourly) | - | No |
|
|
112
|
+
| `--start-time <time>` | Start time (ISO 8601) | - | No |
|
|
113
|
+
| `--end-time <time>` | End time (ISO 8601) | - | No |
|
|
114
|
+
| `--environment-id <id>` | Filter by environment ID | - | No |
|
|
115
|
+
| `--json` | Output in JSON format | - | No |
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<!-- Generated from skills/temps-cli/references/COMMANDS.md. Do not edit manually. -->
|
|
2
|
+
|
|
3
|
+
# `init` command reference
|
|
4
|
+
|
|
5
|
+
Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing a command. Runtime `--help` is authoritative.
|
|
6
|
+
|
|
7
|
+
## `init`
|
|
8
|
+
|
|
9
|
+
Initialize a Temps project in the current directory
|
|
10
|
+
|
|
11
|
+
**Usage:** `init [project-slug] [options]`
|
|
12
|
+
|
|
13
|
+
**Options:**
|
|
14
|
+
|
|
15
|
+
| Flag | Description | Default | Required |
|
|
16
|
+
|------|-------------|---------|----------|
|
|
17
|
+
| `-n, --name <name>` | Project name (for new projects) | - | No |
|
|
18
|
+
| `-y, --yes` | Skip confirmation prompts | - | No |
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
<!-- Generated from skills/temps-cli/references/COMMANDS.md. Do not edit manually. -->
|
|
2
|
+
|
|
3
|
+
# `instances` command reference
|
|
4
|
+
|
|
5
|
+
Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing a command. Runtime `--help` is authoritative.
|
|
6
|
+
|
|
7
|
+
## `instances` (alias: `instance`)
|
|
8
|
+
|
|
9
|
+
Manage Temps server instances
|
|
10
|
+
|
|
11
|
+
**Subcommands:**
|
|
12
|
+
|
|
13
|
+
- `list` (`ls`) - List configured instances
|
|
14
|
+
- `add` - Add a new instance
|
|
15
|
+
- `remove` (`rm`) - Remove an instance
|
|
16
|
+
- `switch` (`use`) - Switch to a different instance
|
|
17
|
+
- `show` - Show instance details (or current instance)
|
|
18
|
+
|
|
19
|
+
### `instances list` (alias: `ls`)
|
|
20
|
+
|
|
21
|
+
List configured instances
|
|
22
|
+
|
|
23
|
+
**Options:**
|
|
24
|
+
|
|
25
|
+
| Flag | Description | Default | Required |
|
|
26
|
+
|------|-------------|---------|----------|
|
|
27
|
+
| `--json` | Output in JSON format | - | No |
|
|
28
|
+
|
|
29
|
+
### `instances add`
|
|
30
|
+
|
|
31
|
+
Add a new instance
|
|
32
|
+
|
|
33
|
+
**Options:**
|
|
34
|
+
|
|
35
|
+
| Flag | Description | Default | Required |
|
|
36
|
+
|------|-------------|---------|----------|
|
|
37
|
+
| `-n, --name <name>` | Instance name | - | No |
|
|
38
|
+
| `-u, --url <url>` | Instance URL | - | No |
|
|
39
|
+
|
|
40
|
+
### `instances remove` (alias: `rm`)
|
|
41
|
+
|
|
42
|
+
Remove an instance
|
|
43
|
+
|
|
44
|
+
**Usage:** `instances remove <name>`
|
|
45
|
+
|
|
46
|
+
### `instances switch` (alias: `use`)
|
|
47
|
+
|
|
48
|
+
Switch to a different instance
|
|
49
|
+
|
|
50
|
+
**Usage:** `instances switch <name>`
|
|
51
|
+
|
|
52
|
+
### `instances show`
|
|
53
|
+
|
|
54
|
+
Show instance details (or current instance)
|
|
55
|
+
|
|
56
|
+
**Usage:** `instances show [name] [options]`
|
|
57
|
+
|
|
58
|
+
**Options:**
|
|
59
|
+
|
|
60
|
+
| Flag | Description | Default | Required |
|
|
61
|
+
|------|-------------|---------|----------|
|
|
62
|
+
| `--json` | Output in JSON format | - | No |
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
<!-- Generated from skills/temps-cli/references/COMMANDS.md. Do not edit manually. -->
|
|
2
|
+
|
|
3
|
+
# `instantiations` command reference
|
|
4
|
+
|
|
5
|
+
Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing a command. Runtime `--help` is authoritative.
|
|
6
|
+
|
|
7
|
+
## `instantiations` (alias: `inst`)
|
|
8
|
+
|
|
9
|
+
Follow and retry template creations and imports
|
|
10
|
+
|
|
11
|
+
**Subcommands:**
|
|
12
|
+
|
|
13
|
+
- `list` (`ls`) - List your recent template creations and imports, newest first
|
|
14
|
+
- `show` (`get`) - Show every step of a template creation or import
|
|
15
|
+
- `retry` - Continue from the step that failed; finished steps are not repeated
|
|
16
|
+
|
|
17
|
+
### `instantiations list` (alias: `ls`)
|
|
18
|
+
|
|
19
|
+
List your recent template creations and imports, newest first
|
|
20
|
+
|
|
21
|
+
**Options:**
|
|
22
|
+
|
|
23
|
+
| Flag | Description | Default | Required |
|
|
24
|
+
|------|-------------|---------|----------|
|
|
25
|
+
| `--group <project>` | Only those that added services to this project (group slug or id) | - | No |
|
|
26
|
+
| `--page <n>` | Page number (default 1) | - | No |
|
|
27
|
+
| `--per-page <n>` | How many per page (default 20, at most 100) | - | No |
|
|
28
|
+
| `--limit <n>` | Same as --per-page | - | No |
|
|
29
|
+
| `--json` | Output in JSON format | - | No |
|
|
30
|
+
|
|
31
|
+
### `instantiations show` (alias: `get`)
|
|
32
|
+
|
|
33
|
+
Show every step of a template creation or import
|
|
34
|
+
|
|
35
|
+
**Usage:** `instantiations show <id> [options]`
|
|
36
|
+
|
|
37
|
+
**Options:**
|
|
38
|
+
|
|
39
|
+
| Flag | Description | Default | Required |
|
|
40
|
+
|------|-------------|---------|----------|
|
|
41
|
+
| `--wait` | Wait until it finishes | - | No |
|
|
42
|
+
| `--timeout <minutes>` | With --wait: stop waiting after this long (default 30) | - | No |
|
|
43
|
+
| `--json` | Output in JSON format | - | No |
|
|
44
|
+
|
|
45
|
+
### `instantiations retry`
|
|
46
|
+
|
|
47
|
+
Continue from the step that failed; finished steps are not repeated
|
|
48
|
+
|
|
49
|
+
**Usage:** `instantiations retry <id> [options]`
|
|
50
|
+
|
|
51
|
+
**Options:**
|
|
52
|
+
|
|
53
|
+
| Flag | Description | Default | Required |
|
|
54
|
+
|------|-------------|---------|----------|
|
|
55
|
+
| `--no-wait` | Return right away instead of waiting until it finishes | - | No |
|
|
56
|
+
| `--timeout <minutes>` | Stop waiting after this long (default 30); it keeps running on the server | - | No |
|
|
57
|
+
| `--json` | Output in JSON format | - | No |
|