Skip to content

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

Open
almeidazs wants to merge 2 commits intoresend:mainfrom
almeidazs:feat/docs-cmd
Open

feat(docs): add command to open the documentation in the default browser#183
almeidazs wants to merge 2 commits intoresend:mainfrom
almeidazs:feat/docs-cmd

Conversation

@almeidazs
Copy link
Copy Markdown

@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 df55abe. 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
Author

Can you review this? @felipefreitag

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.

1 participant