codity pr

Work with pull request and merge request comments directly from your terminal. Supports GitHub, GitLab, Bitbucket, and Azure DevOps.

Subcommands

pr comments

List comments on a pull request or merge request.

codity pr comments [flags]

Flags:

FlagDescription
--pr <number>PR/MR number (auto-detected from current branch if omitted)

Example:

codity pr comments
codity pr comments --pr 42

Each comment displays:

  • Author
  • Comment body
  • File and line number
  • Whether the comment is outdated
  • Direct URL to the comment

pr resolve

Get AI-assisted resolution suggestions for PR comments.

codity pr resolve [flags]

Flags:

FlagDescription
--pr <number>PR/MR number (auto-detected from current branch if omitted)

Example:

codity pr resolve
codity pr resolve --pr 42

This command:

  1. Fetches all comments on the PR
  2. Prompts you to select a comment to resolve
  3. Generates an AI-powered suggestion with reasoning