@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
|
@@ -15,6 +15,12 @@ View proxy request logs and statistics
|
|
|
15
15
|
- `by-request` - Get proxy log by request ID
|
|
16
16
|
- `stats` - Get time bucket statistics (last 24 hours)
|
|
17
17
|
- `today` - Get today's request statistics
|
|
18
|
+
- `get-api-traffic-access` - Report whether the current principal may drill into a project's proxy logs
|
|
19
|
+
- `list-known-ai-agents` - List every AI agent the detector knows how to classify
|
|
20
|
+
- `get-ai-agent-pages` - Get the top pages accessed by a specific AI agent over a time window
|
|
21
|
+
- `get-ai-agent-timeline` - Time-bucketed AI-agent request volume, split by provider or agent
|
|
22
|
+
- `get-ai-status-breakdown` - HTTP status-class breakdown for AI-agent traffic — are bots being served (2xx) or hitting broken/blocked..
|
|
23
|
+
- `get-health` - Get user-traffic health summaries for multiple projects (last 1 hour)
|
|
18
24
|
|
|
19
25
|
### `proxy-logs list` (alias: `ls`)
|
|
20
26
|
|
|
@@ -39,6 +45,23 @@ List proxy logs
|
|
|
39
45
|
| `--sort-order <order>` | Sort order: asc or desc (default: desc) | - | No |
|
|
40
46
|
| `--is-bot` | Filter for bot requests only | - | No |
|
|
41
47
|
| `--has-error` | Filter for requests with errors only | - | No |
|
|
48
|
+
| `--path-exact <value>` | Only this exact path (--path matches a prefix) | - | No |
|
|
49
|
+
| `--session-id <n>` | Only requests of this analytics session | - | No |
|
|
50
|
+
| `--visitor-id <n>` | Only requests of this visitor | - | No |
|
|
51
|
+
| `--exclude-bots` | Leave out requests from bots | - | No |
|
|
52
|
+
| `--no-exclude-bots` | Set exclude_bots to false | - | No |
|
|
53
|
+
| `--exclude-synthetic` | Leave out synthetic traffic (uptime checks, Temps itself) | - | No |
|
|
54
|
+
| `--no-exclude-synthetic` | Set exclude_synthetic to false | - | No |
|
|
55
|
+
| `--is-ai-agent` | Only (or, with --no-is-ai-agent, never) AI agent requests | - | No |
|
|
56
|
+
| `--no-is-ai-agent` | Set is_ai_agent to false | - | No |
|
|
57
|
+
| `--ai-agent <value>` | Only this AI agent (e.g. GPTBot) | - | No |
|
|
58
|
+
| `--ai-provider <value>` | Only AI agents of this provider (e.g. OpenAI) | - | No |
|
|
59
|
+
| `--request-size-min <n>` | Smallest request body, in bytes | - | No |
|
|
60
|
+
| `--request-size-max <n>` | Largest request body, in bytes | - | No |
|
|
61
|
+
| `--response-size-min <n>` | Smallest response body, in bytes | - | No |
|
|
62
|
+
| `--response-size-max <n>` | Largest response body, in bytes | - | No |
|
|
63
|
+
| `--response-time-min <n>` | Fastest response, in milliseconds | - | No |
|
|
64
|
+
| `--response-time-max <n>` | Slowest response, in milliseconds | - | No |
|
|
42
65
|
|
|
43
66
|
### `proxy-logs show`
|
|
44
67
|
|
|
@@ -73,6 +96,9 @@ Get time bucket statistics (last 24 hours)
|
|
|
73
96
|
| Flag | Description | Default | Required |
|
|
74
97
|
|------|-------------|---------|----------|
|
|
75
98
|
| `--json` | Output in JSON format | - | No |
|
|
99
|
+
| `--has-project` | Only requests routed to a project (or, with --no-has-project, to none) | - | No |
|
|
100
|
+
| `--no-has-project` | Set has_project to false | - | No |
|
|
101
|
+
| `--status-code-class <value>` | Only this status class (one of: 2xx, 3xx, 4xx, 5xx) | - | No |
|
|
76
102
|
|
|
77
103
|
### `proxy-logs today`
|
|
78
104
|
|
|
@@ -83,3 +109,88 @@ Get today's request statistics
|
|
|
83
109
|
| Flag | Description | Default | Required |
|
|
84
110
|
|------|-------------|---------|----------|
|
|
85
111
|
| `--json` | Output in JSON format | - | No |
|
|
112
|
+
| `--status-code-class <value>` | Only this status class (one of: 2xx, 3xx, 4xx, 5xx) | - | No |
|
|
113
|
+
|
|
114
|
+
### `proxy-logs get-api-traffic-access`
|
|
115
|
+
|
|
116
|
+
Report whether the current principal may drill into a project's proxy logs
|
|
117
|
+
|
|
118
|
+
**Options:**
|
|
119
|
+
|
|
120
|
+
| Flag | Description | Default | Required |
|
|
121
|
+
|------|-------------|---------|----------|
|
|
122
|
+
| `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
|
|
123
|
+
| `--json` | Output in JSON format | - | No |
|
|
124
|
+
|
|
125
|
+
### `proxy-logs list-known-ai-agents`
|
|
126
|
+
|
|
127
|
+
List every AI agent the detector knows how to classify
|
|
128
|
+
|
|
129
|
+
**Options:**
|
|
130
|
+
|
|
131
|
+
| Flag | Description | Default | Required |
|
|
132
|
+
|------|-------------|---------|----------|
|
|
133
|
+
| `--json` | Output in JSON format | - | No |
|
|
134
|
+
|
|
135
|
+
### `proxy-logs get-ai-agent-pages`
|
|
136
|
+
|
|
137
|
+
Get the top pages accessed by a specific AI agent over a time window
|
|
138
|
+
|
|
139
|
+
**Options:**
|
|
140
|
+
|
|
141
|
+
| Flag | Description | Default | Required |
|
|
142
|
+
|------|-------------|---------|----------|
|
|
143
|
+
| `--agent <value>` | Canonical agent name to filter by (e.g. 'ChatGPT-User', 'ClaudeBot') [required] | - | No |
|
|
144
|
+
| `--project-id <n>` | Filter by project ID | - | No |
|
|
145
|
+
| `--environment-id <n>` | Filter by environment ID | - | No |
|
|
146
|
+
| `--start-time <value>` | Start time (ISO 8601) | - | No |
|
|
147
|
+
| `--end-time <value>` | End time (ISO 8601) | - | No |
|
|
148
|
+
| `--limit <n>` | Maximum rows to return | - | No |
|
|
149
|
+
| `--json` | Output in JSON format | - | No |
|
|
150
|
+
|
|
151
|
+
### `proxy-logs get-ai-agent-timeline`
|
|
152
|
+
|
|
153
|
+
Time-bucketed AI-agent request volume, split by provider or agent
|
|
154
|
+
|
|
155
|
+
**Options:**
|
|
156
|
+
|
|
157
|
+
| Flag | Description | Default | Required |
|
|
158
|
+
|------|-------------|---------|----------|
|
|
159
|
+
| `--project-id <n>` | Filter by project ID | - | No |
|
|
160
|
+
| `--environment-id <n>` | Filter by environment ID | - | No |
|
|
161
|
+
| `--start-time <value>` | Start time (ISO 8601) | - | No |
|
|
162
|
+
| `--end-time <value>` | End time (ISO 8601) | - | No |
|
|
163
|
+
| `--group-by <value>` | Grouping dimension: 'provider' (default) or 'agent' | - | No |
|
|
164
|
+
| `--bucket <value>` | Bucket interval override (e.g. '1 hour', '1 day') | - | No |
|
|
165
|
+
| `--json` | Output in JSON format | - | No |
|
|
166
|
+
|
|
167
|
+
### `proxy-logs get-ai-status-breakdown`
|
|
168
|
+
|
|
169
|
+
HTTP status-class breakdown for AI-agent traffic — are bots being served (2xx) or hitting broken/blocked..
|
|
170
|
+
|
|
171
|
+
**Options:**
|
|
172
|
+
|
|
173
|
+
| Flag | Description | Default | Required |
|
|
174
|
+
|------|-------------|---------|----------|
|
|
175
|
+
| `--project-id <n>` | Filter by project ID (recommended for per-project analytics) | - | No |
|
|
176
|
+
| `--environment-id <n>` | Filter by environment ID | - | No |
|
|
177
|
+
| `--start-time <value>` | Start time (ISO 8601) | - | No |
|
|
178
|
+
| `--end-time <value>` | End time (ISO 8601) | - | No |
|
|
179
|
+
| `--limit <n>` | Maximum rows to return | - | No |
|
|
180
|
+
| `--path <value>` | Optional exact path filter | - | No |
|
|
181
|
+
| `--json` | Output in JSON format | - | No |
|
|
182
|
+
|
|
183
|
+
### `proxy-logs get-health`
|
|
184
|
+
|
|
185
|
+
Get user-traffic health summaries for multiple projects (last 1 hour)
|
|
186
|
+
|
|
187
|
+
**Options:**
|
|
188
|
+
|
|
189
|
+
| Flag | Description | Default | Required |
|
|
190
|
+
|------|-------------|---------|----------|
|
|
191
|
+
| `--project-ids <value>` | Comma-separated list of project IDs [required] | - | No |
|
|
192
|
+
| `--start-time <value>` | Optional start time (ISO 8601) | - | No |
|
|
193
|
+
| `--end-time <value>` | Optional end time (ISO 8601) | - | No |
|
|
194
|
+
| `--is-bot` | Filter by bot detection | - | No |
|
|
195
|
+
| `--no-is-bot` | Set is_bot to false | - | No |
|
|
196
|
+
| `--json` | Output in JSON format | - | No |
|
|
@@ -11,6 +11,22 @@ Manage revenue integrations and import historical data
|
|
|
11
11
|
**Subcommands:**
|
|
12
12
|
|
|
13
13
|
- `import` - Import historical revenue data from a CSV export
|
|
14
|
+
- `recent-events` - Recent ingested events for the activity feed
|
|
15
|
+
- `list-integrations` - List revenue integrations for a project
|
|
16
|
+
- `create-integration` - Create a new revenue integration
|
|
17
|
+
- `delete-integration` - Delete a revenue integration (permanent — use rotate_token to refresh credentials without breaking history)
|
|
18
|
+
- `update-config` - Replace the typed provider config on an integration
|
|
19
|
+
- `import-invoices-csv` - Import a Stripe invoices CSV export
|
|
20
|
+
- `import-subscriptions-csv` - Import a Stripe subscriptions CSV export
|
|
21
|
+
- `rotate-token` - Rotate the webhook path token
|
|
22
|
+
- `update-secret` - Replace the stored signing secret without rotating the webhook URL
|
|
23
|
+
- `metrics-customers` - New + churned customers per bucket
|
|
24
|
+
- `metrics-mrr` - Bucketed MRR timeseries for the revenue chart
|
|
25
|
+
- `metrics-summary` - Current MRR / ARR / churn / ARPU for a project, in one currency
|
|
26
|
+
- `global-events` - Org-wide revenue events across every project
|
|
27
|
+
- `metrics-global-mrr` - Org-wide MRR total, summed across every project in the install
|
|
28
|
+
- `metrics-global-summary` - Org-wide revenue summary: MRR, paid cash (30d + all-time), refunds, active subscriptions/customers, and..
|
|
29
|
+
- `list-providers` - List registered providers (what the UI needs to render the "Connect" dropdown + its wizard instructions)
|
|
14
30
|
|
|
15
31
|
### `revenue import`
|
|
16
32
|
|
|
@@ -25,6 +41,8 @@ Import historical revenue data from a CSV export
|
|
|
25
41
|
|
|
26
42
|
Import current subscriptions CSV (e.g., Stripe → Subscriptions → Export)
|
|
27
43
|
|
|
44
|
+
**Usage:** `revenue import subscriptions <file> [options]`
|
|
45
|
+
|
|
28
46
|
**Options:**
|
|
29
47
|
|
|
30
48
|
| Flag | Description | Default | Required |
|
|
@@ -38,6 +56,8 @@ Import current subscriptions CSV (e.g., Stripe → Subscriptions → Export)
|
|
|
38
56
|
|
|
39
57
|
Import paid invoices CSV to backfill the revenue chart
|
|
40
58
|
|
|
59
|
+
**Usage:** `revenue import invoices <file> [options]`
|
|
60
|
+
|
|
41
61
|
**Options:**
|
|
42
62
|
|
|
43
63
|
| Flag | Description | Default | Required |
|
|
@@ -46,3 +66,206 @@ Import paid invoices CSV to backfill the revenue chart
|
|
|
46
66
|
| `--integration-id <id>` | Target integration ID (auto-detected if only one exists) | - | No |
|
|
47
67
|
| `--provider <name>` | Target provider name (e.g., stripe) | - | No |
|
|
48
68
|
| `--json` | Output the import outcome as JSON (suppresses spinners) | - | No |
|
|
69
|
+
|
|
70
|
+
### `revenue recent-events`
|
|
71
|
+
|
|
72
|
+
Recent ingested events for the activity feed
|
|
73
|
+
|
|
74
|
+
**Options:**
|
|
75
|
+
|
|
76
|
+
| Flag | Description | Default | Required |
|
|
77
|
+
|------|-------------|---------|----------|
|
|
78
|
+
| `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
|
|
79
|
+
| `--json` | Output in JSON format | - | No |
|
|
80
|
+
|
|
81
|
+
### `revenue list-integrations`
|
|
82
|
+
|
|
83
|
+
List revenue integrations for a project
|
|
84
|
+
|
|
85
|
+
**Options:**
|
|
86
|
+
|
|
87
|
+
| Flag | Description | Default | Required |
|
|
88
|
+
|------|-------------|---------|----------|
|
|
89
|
+
| `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
|
|
90
|
+
| `--json` | Output in JSON format | - | No |
|
|
91
|
+
|
|
92
|
+
### `revenue create-integration`
|
|
93
|
+
|
|
94
|
+
Create a new revenue integration
|
|
95
|
+
|
|
96
|
+
**Options:**
|
|
97
|
+
|
|
98
|
+
| Flag | Description | Default | Required |
|
|
99
|
+
|------|-------------|---------|----------|
|
|
100
|
+
| `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
|
|
101
|
+
| `--provider <value>` | Registered provider name, e.g. "stripe" [required] | - | No |
|
|
102
|
+
| `--signing-secret-stdin` | Signing secret from the provider's dashboard [required] (read from stdin) | - | No |
|
|
103
|
+
| `--signing-secret-file <path>` | Signing secret from the provider's dashboard [required] (read from a file) | - | No |
|
|
104
|
+
| `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
|
|
105
|
+
| `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
|
|
106
|
+
| `--json` | Output in JSON format | - | No |
|
|
107
|
+
|
|
108
|
+
### `revenue delete-integration`
|
|
109
|
+
|
|
110
|
+
Delete a revenue integration (permanent — use rotate_token to refresh credentials without breaking history)
|
|
111
|
+
|
|
112
|
+
**Usage:** `revenue delete-integration <integration-id> [options]`
|
|
113
|
+
|
|
114
|
+
**Options:**
|
|
115
|
+
|
|
116
|
+
| Flag | Description | Default | Required |
|
|
117
|
+
|------|-------------|---------|----------|
|
|
118
|
+
| `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
|
|
119
|
+
| `-y, --yes` | Do not ask for confirmation | - | No |
|
|
120
|
+
| `--json` | Output in JSON format | - | No |
|
|
121
|
+
|
|
122
|
+
### `revenue update-config`
|
|
123
|
+
|
|
124
|
+
Replace the typed provider config on an integration
|
|
125
|
+
|
|
126
|
+
**Usage:** `revenue update-config <integration-id> [options]`
|
|
127
|
+
|
|
128
|
+
**Options:**
|
|
129
|
+
|
|
130
|
+
| Flag | Description | Default | Required |
|
|
131
|
+
|------|-------------|---------|----------|
|
|
132
|
+
| `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
|
|
133
|
+
| `--config <json>` | Provider-specific integration settings persisted in 'revenue_integrations.config' (JSON) | - | No |
|
|
134
|
+
| `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
|
|
135
|
+
| `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
|
|
136
|
+
| `--json` | Output in JSON format | - | No |
|
|
137
|
+
|
|
138
|
+
### `revenue import-invoices-csv`
|
|
139
|
+
|
|
140
|
+
Import a Stripe invoices CSV export
|
|
141
|
+
|
|
142
|
+
**Usage:** `revenue import-invoices-csv <integration-id> [options]`
|
|
143
|
+
|
|
144
|
+
**Options:**
|
|
145
|
+
|
|
146
|
+
| Flag | Description | Default | Required |
|
|
147
|
+
|------|-------------|---------|----------|
|
|
148
|
+
| `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
|
|
149
|
+
| `--json` | Output in JSON format | - | No |
|
|
150
|
+
|
|
151
|
+
### `revenue import-subscriptions-csv`
|
|
152
|
+
|
|
153
|
+
Import a Stripe subscriptions CSV export
|
|
154
|
+
|
|
155
|
+
**Usage:** `revenue import-subscriptions-csv <integration-id> [options]`
|
|
156
|
+
|
|
157
|
+
**Options:**
|
|
158
|
+
|
|
159
|
+
| Flag | Description | Default | Required |
|
|
160
|
+
|------|-------------|---------|----------|
|
|
161
|
+
| `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
|
|
162
|
+
| `--json` | Output in JSON format | - | No |
|
|
163
|
+
|
|
164
|
+
### `revenue rotate-token`
|
|
165
|
+
|
|
166
|
+
Rotate the webhook path token
|
|
167
|
+
|
|
168
|
+
**Usage:** `revenue rotate-token <integration-id> [options]`
|
|
169
|
+
|
|
170
|
+
**Options:**
|
|
171
|
+
|
|
172
|
+
| Flag | Description | Default | Required |
|
|
173
|
+
|------|-------------|---------|----------|
|
|
174
|
+
| `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
|
|
175
|
+
| `--json` | Output in JSON format | - | No |
|
|
176
|
+
|
|
177
|
+
### `revenue update-secret`
|
|
178
|
+
|
|
179
|
+
Replace the stored signing secret without rotating the webhook URL
|
|
180
|
+
|
|
181
|
+
**Usage:** `revenue update-secret <integration-id> [options]`
|
|
182
|
+
|
|
183
|
+
**Options:**
|
|
184
|
+
|
|
185
|
+
| Flag | Description | Default | Required |
|
|
186
|
+
|------|-------------|---------|----------|
|
|
187
|
+
| `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
|
|
188
|
+
| `--signing-secret-stdin` | New signing secret from the provider's dashboard [required] (read from stdin) | - | No |
|
|
189
|
+
| `--signing-secret-file <path>` | New signing secret from the provider's dashboard [required] (read from a file) | - | No |
|
|
190
|
+
| `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
|
|
191
|
+
| `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
|
|
192
|
+
| `--json` | Output in JSON format | - | No |
|
|
193
|
+
|
|
194
|
+
### `revenue metrics-customers`
|
|
195
|
+
|
|
196
|
+
New + churned customers per bucket
|
|
197
|
+
|
|
198
|
+
**Options:**
|
|
199
|
+
|
|
200
|
+
| Flag | Description | Default | Required |
|
|
201
|
+
|------|-------------|---------|----------|
|
|
202
|
+
| `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
|
|
203
|
+
| `--json` | Output in JSON format | - | No |
|
|
204
|
+
|
|
205
|
+
### `revenue metrics-mrr`
|
|
206
|
+
|
|
207
|
+
Bucketed MRR timeseries for the revenue chart
|
|
208
|
+
|
|
209
|
+
**Options:**
|
|
210
|
+
|
|
211
|
+
| Flag | Description | Default | Required |
|
|
212
|
+
|------|-------------|---------|----------|
|
|
213
|
+
| `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
|
|
214
|
+
| `--json` | Output in JSON format | - | No |
|
|
215
|
+
|
|
216
|
+
### `revenue metrics-summary`
|
|
217
|
+
|
|
218
|
+
Current MRR / ARR / churn / ARPU for a project, in one currency
|
|
219
|
+
|
|
220
|
+
**Options:**
|
|
221
|
+
|
|
222
|
+
| Flag | Description | Default | Required |
|
|
223
|
+
|------|-------------|---------|----------|
|
|
224
|
+
| `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
|
|
225
|
+
| `--json` | Output in JSON format | - | No |
|
|
226
|
+
|
|
227
|
+
### `revenue global-events`
|
|
228
|
+
|
|
229
|
+
Org-wide revenue events across every project
|
|
230
|
+
|
|
231
|
+
**Options:**
|
|
232
|
+
|
|
233
|
+
| Flag | Description | Default | Required |
|
|
234
|
+
|------|-------------|---------|----------|
|
|
235
|
+
| `--project-id <n>` | Filter to a single project | - | No |
|
|
236
|
+
| `--from <value>` | Lower bound (inclusive), ISO-8601 | - | No |
|
|
237
|
+
| `--to <value>` | Upper bound (inclusive), ISO-8601 | - | No |
|
|
238
|
+
| `--event-types <value>` | Comma-separated event types (e.g. 'invoice.paid,charge.succeeded') | - | No |
|
|
239
|
+
| `--limit <n>` | Max rows, default 100, max 500 | - | No |
|
|
240
|
+
| `--json` | Output in JSON format | - | No |
|
|
241
|
+
|
|
242
|
+
### `revenue metrics-global-mrr`
|
|
243
|
+
|
|
244
|
+
Org-wide MRR total, summed across every project in the install
|
|
245
|
+
|
|
246
|
+
**Options:**
|
|
247
|
+
|
|
248
|
+
| Flag | Description | Default | Required |
|
|
249
|
+
|------|-------------|---------|----------|
|
|
250
|
+
| `--json` | Output in JSON format | - | No |
|
|
251
|
+
|
|
252
|
+
### `revenue metrics-global-summary`
|
|
253
|
+
|
|
254
|
+
Org-wide revenue summary: MRR, paid cash (30d + all-time), refunds, active subscriptions/customers, and..
|
|
255
|
+
|
|
256
|
+
**Options:**
|
|
257
|
+
|
|
258
|
+
| Flag | Description | Default | Required |
|
|
259
|
+
|------|-------------|---------|----------|
|
|
260
|
+
| `--currency <value>` | ISO-4217 currency code, default USD | - | No |
|
|
261
|
+
| `--json` | Output in JSON format | - | No |
|
|
262
|
+
|
|
263
|
+
### `revenue list-providers`
|
|
264
|
+
|
|
265
|
+
List registered providers (what the UI needs to render the "Connect" dropdown + its wizard instructions)
|
|
266
|
+
|
|
267
|
+
**Options:**
|
|
268
|
+
|
|
269
|
+
| Flag | Description | Default | Required |
|
|
270
|
+
|------|-------------|---------|----------|
|
|
271
|
+
| `--json` | Output in JSON format | - | No |
|