mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 20:11:19 +08:00
resend: add page (#21702)
Co-authored-by: Meinard Francisco <44516102+znarfm@users.noreply.github.com> Co-authored-by: Ivan Baluta <ivanbaluta.dev@gmail.com>
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
# resend
|
||||
|
||||
> Send and manage emails from the command-line.
|
||||
> More information: <https://github.com/resend/resend-cli#commands>.
|
||||
|
||||
- Log in to Resend (opens browser for authentication):
|
||||
|
||||
`resend login`
|
||||
|
||||
- Log in with an API key directly (for CI/agents):
|
||||
|
||||
`resend login --key {{re_xxxxxxxxx}}`
|
||||
|
||||
- Send an email:
|
||||
|
||||
`resend emails send --from {{email@example.com}} --to {{recipient@example.com}} --subject "{{subject}}" --text "{{message}}"`
|
||||
|
||||
- Create a template:
|
||||
|
||||
`resend templates create --name "{{Welcome}}" --subject "{{subject}}" --html "{{<h1>Hello</h1>}}"`
|
||||
|
||||
- Send an email using a template:
|
||||
|
||||
`resend emails send --to {{recipient@example.com}} --template {{template_id}}`
|
||||
|
||||
- List verified domains:
|
||||
|
||||
`resend domains {{[ls|list]}}`
|
||||
|
||||
- Show current authentication status:
|
||||
|
||||
`resend whoami`
|
||||
|
||||
- Check CLI version, API key, and domain status:
|
||||
|
||||
`resend doctor`
|
||||
Reference in New Issue
Block a user