resend-cli 1.10.0 → 2.0.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "resend-cli",
3
- "version": "1.10.0",
3
+ "version": "2.0.0",
4
4
  "description": "The official CLI for Resend",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -11,7 +11,7 @@ description: >
11
11
  license: MIT
12
12
  metadata:
13
13
  author: resend
14
- version: "1.10.0"
14
+ version: "2.0.0"
15
15
  homepage: https://resend.com/docs/cli-agents
16
16
  source: https://github.com/resend/resend-cli
17
17
  openclaw:
@@ -140,7 +140,7 @@ Auth resolves: `--api-key` flag > `RESEND_API_KEY` env > config file (`resend lo
140
140
  | `broadcasts` | create, send, update, delete, list |
141
141
  | `contacts` | create, update, delete, segments, topics |
142
142
  | `contact-properties` | create, update, delete, list |
143
- | `segments` | create, get, list, delete |
143
+ | `segments` | create, get, list, delete, contacts |
144
144
  | `templates` | create, publish, duplicate, delete, list |
145
145
  | `topics` | create, update, delete, list |
146
146
  | `webhooks` | create, update, listen, delete, list |
@@ -88,12 +88,15 @@ Opens the automations list or a specific automation's editor in the dashboard.
88
88
 
89
89
  | Flag | Type | Default | Description |
90
90
  |------|------|---------|-------------|
91
+ | `--status <status>` | string | — | Filter by status (comma-separated: `running`, `completed`, `failed`, `cancelled`) |
91
92
  | `--limit <n>` | number | 10 | Max results (1-100) |
92
93
  | `--after <cursor>` | string | — | Forward pagination |
93
94
  | `--before <cursor>` | string | — | Backward pagination |
94
95
 
95
96
  ```
96
97
  resend automations runs <automation-id>
98
+ resend automations runs list <automation-id> --status running
99
+ resend automations runs list <automation-id> --status completed,failed
97
100
  ```
98
101
 
99
102
  **Run status values:** `running` | `completed` | `failed` | `cancelled`
@@ -37,3 +37,17 @@ Detailed flag specifications for `resend segments` commands.
37
37
  | `--yes` | boolean | Yes (non-interactive) | Skip confirmation |
38
38
 
39
39
  Deleting a segment does NOT delete its contacts.
40
+
41
+ ---
42
+
43
+ ## segments contacts
44
+
45
+ **Argument:** `[segmentId]` — Segment UUID (interactive picker if omitted)
46
+
47
+ | Flag | Type | Default | Description |
48
+ |------|------|---------|-------------|
49
+ | `--limit <n>` | number | 10 | Max results (1-100) |
50
+ | `--after <cursor>` | string | — | Forward pagination |
51
+ | `--before <cursor>` | string | — | Backward pagination |
52
+
53
+ Lists contacts belonging to a segment. Uses `resend.contacts.list({ segmentId })` which maps to `GET /segments/:segment_id/contacts`.