Supported Platforms
Auto-Detection
CodeAnt automatically detects your SCM platform, repository name, and default branch from your git remote:- Parses
git remote get-url origin(supports both SSH and HTTPS URLs) - Maps the host to a platform (e.g.,
github.com→github) - Extracts
owner/repofrom the URL path - Detects the default branch from
refs/remotes/origin/HEAD
--remote and --name flags.
Authentication
See Setup - SCM Platform Tokens for authentication configuration.Pull Request Management
pr list
List pull requests (or merge requests) in the repository.
Examples:
pr get
Get detailed information about a specific pull request, including review analysis data.
Example:
pr comments
List all comments on a pull request with optional filtering.
Examples:
pr resolve
Resolve a comment thread or conversation on a pull request.
The ID type to use depends on your platform:
Example:
Code Review Management
code-review list
List code reviews with optional filtering.
Examples:
code-review get
Get detailed information for a specific code review.
Example:
Comment Search
comments search
Search across all CodeAnt comments in a repository.
Examples:
Platform-Specific Notes
GitHub
- Uses the Octokit SDK under the hood
- Aggregates both review comments (inline) and issue comments
- Supports GitHub Enterprise with custom API URLs
GitLab
- Uses the GitBeaker SDK
- Works with merge request and approval APIs
- Supports self-hosted instances
Bitbucket
- Uses the Bitbucket SDK
- Supports both Cloud and Server/Data Center deployments
- Adapts PR/MR terminology automatically
Azure DevOps
- Uses the Azure DevOps Node API SDK
- Works with organization/project/repository structure
- Supports both
dev.azure.comandvisualstudio.comURLs