Skip to content

feat: add --author flag with @me support to pr list#8

Open
zoldyzdk wants to merge 1 commit intomainfrom
feat/pr-list-author
Open

feat: add --author flag with @me support to pr list#8
zoldyzdk wants to merge 1 commit intomainfrom
feat/pr-list-author

Conversation

@zoldyzdk
Copy link
Copy Markdown
Owner

Summary

  • Adds --author / -A flag to bb pr list that filters PRs by author nickname using Bitbucket's query API (q=author.nickname="<value>")
  • Supports @me to resolve to the authenticated user's nickname via GET /user
  • Adds Nickname field to CurrentUser struct
  • Preserves existing behavior when --author is not provided

Closes #2

Test plan

  • bb pr list --author <nickname> returns only PRs from that author
  • bb pr list --author @me resolves to current user and filters
  • bb pr list without --author shows all PRs (unchanged behavior)
  • --author works with --state and --limit flags
  • @me without authentication shows clear error

Made with Cursor

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.

bb pr list --author with @me support

1 participant