resend-cli 2.16.0 → 2.17.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "resend-cli",
3
- "version": "2.16.0",
3
+ "version": "2.17.1",
4
4
  "description": "The official CLI for Resend",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -46,7 +46,7 @@
46
46
  "esbuild": "0.28.1",
47
47
  "esbuild-wasm": "0.28.0",
48
48
  "picocolors": "1.1.1",
49
- "resend": "6.22.0"
49
+ "resend": "6.23.0"
50
50
  },
51
51
  "pkg": {
52
52
  "scripts": [
@@ -153,7 +153,7 @@ Auth resolves: `--api-key` flag > `RESEND_API_KEY` env > config file (`resend lo
153
153
  | `broadcasts` | create, send, get, update, delete, list, cancel, open, clicked-links, recipients |
154
154
  | `contacts` | create, update, delete, segments, topics, imports |
155
155
  | `contact-properties` | create, update, delete, list |
156
- | `segments` | create, get, list, delete, contacts |
156
+ | `segments` | create, get, list, update, delete, contacts |
157
157
  | `templates` | create, publish, duplicate, delete, list |
158
158
  | `topics` | create, update, delete, list |
159
159
  | `webhooks` | create, update, listen, delete, list |
@@ -40,6 +40,7 @@ Interactive mode walks through every question in the job's application form; fla
40
40
  **Notes:**
41
41
  - Applying twice with the same email fails with `apply_error` ("An application has already been submitted...").
42
42
  - The resume is required by the API for every position.
43
+ - Yes/no questions (`Boolean` fields on the job posting) take `true` or `false` via `--field`; interactive mode prompts with a Yes/No select.
43
44
 
44
45
  **Example (non-interactive):**
45
46
  ```bash
@@ -28,6 +28,20 @@ Detailed flag specifications for `resend segments` commands.
28
28
 
29
29
  ---
30
30
 
31
+ ## segments update
32
+
33
+ Rename a segment.
34
+
35
+ **Argument:** `[id]` — Segment UUID (interactive picker if omitted)
36
+
37
+ | Flag | Type | Required | Description |
38
+ |------|------|----------|-------------|
39
+ | `--name <name>` | string | Yes (non-interactive) | New segment name |
40
+
41
+ **Output:** `{"object":"segment","id":"..."}`
42
+
43
+ ---
44
+
31
45
  ## segments delete
32
46
 
33
47
  **Argument:** `<id>` — Segment UUID