resend-cli
3
总安装量
1
周安装量
#54847
全站排名
安装命令
npx skills add https://github.com/shubhdeep12/resend-cli --skill resend-cli
Agent 安装分布
amp
1
cline
1
opencode
1
cursor
1
kimi-cli
1
codex
1
Skill 文档
Resend CLI
CLI for Resend. Use it when the user asks to send emails, list emails, manage domains, contacts, templates, or webhooks from the terminal or from scripts.
When to use
- User says “send an email from the command line”, “use resend cli”, “run resend in terminal”
- Task is to list/send/get emails, manage domains, contacts, templates, webhooks, or API keys via CLI
- Script or automation needs to call Resend with deterministic, parseable output (use
--json)
Run the CLI
One-off (no install):
npx @shubhdeep12/resend-cli --help
With auth:
export RESEND_API_KEY="re_xxx"
npx @shubhdeep12/resend-cli <group> <command> [options]
No Node.js: Download the binary for your OS from Releases, extract, and run the executable.
Behavior contract
- Exit code:
0on success, non-zero on failure. - Data commands: Always add
--jsonfor a single JSON payload (e.g.resend emails list --json,resend domains list --json). - Pagination: List commands support
--limit,--after,--before.
Quick reference
| Task | Example |
|---|---|
| Send email | resend emails send --from "x@domain.com" --to "y@example.com" --subject "Hi" --html "<p>Hi</p>" |
| List emails | resend emails list --json --limit 10 |
| Auth (optional) | resend auth login --key re_xxx or set RESEND_API_KEY |
For full commands and flags, run resend --help and resend <group> --help, or see Command Reference.