Skip to content

feat(docs): add command to open the documentation in the default browser#183

Merged
felipefreitag merged 3 commits intoresend:mainfrom
almeidazs:feat/docs-cmd
Apr 9, 2026
Merged

feat(docs): add command to open the documentation in the default browser#183
felipefreitag merged 3 commits intoresend:mainfrom
almeidazs:feat/docs-cmd

Conversation

@almeidazs
Copy link
Copy Markdown
Contributor

@almeidazs almeidazs commented Apr 7, 2026

Summary

Add a resend docs command that opens the Resend documentation in the user's default browser.

What changed

  • register a new docs command in the main CLI
  • add a docs command handler that opens https://resend.com/docs
  • extend the shared browser URL map with a documentation URL
  • add a test covering the new command behavior

Why

This makes it easier to jump to the documentation directly from the CLI, using the same browser-opening flow
already used by other commands.

Testing

  • added tests/commands/docs.test.ts
  • verified the command calls openInBrowserOrLog with RESEND_URLS.documentation

Summary by cubic

Adds a new resend docs command that opens the Resend documentation in the default browser. Makes it faster to jump from the CLI to docs.

  • New Features
    • Adds docs command with help text and example.
    • Opens RESEND_URLS.documentation using the shared browser helper.
    • Extends the URL map with documentation and adds a test for the command.

Written for commit 5a1ae42. Summary will update on new commits.

@cubic-dev-ai
Copy link
Copy Markdown
Contributor

cubic-dev-ai Bot commented Apr 7, 2026

This review could not be run because your cubic account has exceeded the daily review limit. If you need help restoring access, please contact contact@cubic.dev.

@almeidazs
Copy link
Copy Markdown
Contributor Author

Can you review this? @felipefreitag

@almeidazs
Copy link
Copy Markdown
Contributor Author

Can we merge? @felipefreitag

@felipefreitag felipefreitag merged commit b3e50cd into resend:main Apr 9, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants