resend-cli 2.1.0 → 2.2.1-rc-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/README.md CHANGED
@@ -49,7 +49,7 @@ resend login
49
49
 
50
50
  # Send an email
51
51
  resend emails send \
52
- --from "you@yourdomain.com" \
52
+ --from "you@example.com" \
53
53
  --to delivered@resend.dev \
54
54
  --subject "Hello from Resend CLI" \
55
55
  --text "Sent from my terminal."
@@ -226,7 +226,7 @@ Provide all options via flags for scripting, or let the CLI prompt interactively
226
226
 
227
227
  ```bash
228
228
  resend emails send \
229
- --from "Name <sender@yourdomain.com>" \
229
+ --from "Name <sender@example.com>" \
230
230
  --to delivered@resend.dev \
231
231
  --subject "Subject line" \
232
232
  --text "Plain text body"
@@ -255,7 +255,7 @@ When run in a terminal without all required flags, the CLI prompts for missing f
255
255
  resend emails send
256
256
 
257
257
  # prompts only for missing fields
258
- resend emails send --from "you@yourdomain.com"
258
+ resend emails send --from "you@example.com"
259
259
  ```
260
260
 
261
261
  #### Non-interactive mode
@@ -263,7 +263,7 @@ resend emails send --from "you@yourdomain.com"
263
263
  When piped or run in CI, all required flags must be provided. Missing flags cause an error listing what's needed:
264
264
 
265
265
  ```bash
266
- echo "" | resend emails send --from "you@yourdomain.com"
266
+ echo "" | resend emails send --from "you@example.com"
267
267
  # Error: Missing required flags: --to, --subject
268
268
  ```
269
269
 
@@ -275,7 +275,7 @@ A body (`--text`, `--html`, or `--html-file`) is also required — omitting all
275
275
 
276
276
  ```bash
277
277
  resend emails send \
278
- --from "you@yourdomain.com" \
278
+ --from "you@example.com" \
279
279
  --to delivered@resend.dev bounced@resend.dev \
280
280
  --subject "Team update" \
281
281
  --text "Hello everyone"
@@ -285,7 +285,7 @@ resend emails send \
285
285
 
286
286
  ```bash
287
287
  resend emails send \
288
- --from "you@yourdomain.com" \
288
+ --from "you@example.com" \
289
289
  --to delivered@resend.dev \
290
290
  --subject "Newsletter" \
291
291
  --html-file ./newsletter.html
@@ -295,7 +295,7 @@ resend emails send \
295
295
 
296
296
  ```bash
297
297
  resend emails send \
298
- --from "you@yourdomain.com" \
298
+ --from "you@example.com" \
299
299
  --to delivered@resend.dev \
300
300
  --subject "Meeting notes" \
301
301
  --text "See attached." \
@@ -308,7 +308,7 @@ resend emails send \
308
308
 
309
309
  ```bash
310
310
  resend --api-key re_other_key emails send \
311
- --from "you@yourdomain.com" \
311
+ --from "you@example.com" \
312
312
  --to delivered@resend.dev \
313
313
  --subject "Test" \
314
314
  --text "Using a different key"
@@ -626,7 +626,7 @@ env:
626
626
  steps:
627
627
  - run: |
628
628
  resend emails send \
629
- --from "deploy@yourdomain.com" \
629
+ --from "deploy@example.com" \
630
630
  --to "delivered@resend.com" \
631
631
  --subject "Deploy complete" \
632
632
  --text "Version ${{ github.sha }} deployed."