src pr

Manage prs

Usage

src pr [flags]

Available commands

Command Description
add-comment Create comment
checkout Check out a pull request branch locally
checks Get Merge Checks Returns comprehensive information about merge requirements: - Code review status and approval rules - Merge conflicts detection - CI workflow execution status - Configuration validation results
create Create a pull request
delete-comment Delete Comment Permanently deletes a comment from a pull request. This action cannot be undone.
diff Show diff of a pull request
discard Discard PullRequest
draft Draft PullRequest
edit Update PullRequest
edit-comment Update Comment Updates an existing comment on a pull request.
files List Pull Request Files Returns the list of files changed in a pull request with diff patches.
get Get PullRequest
list List Repository Pull Requests Retrieves all pull requests from an repository
list-comments List Comments
list-commits List commits in a pull request
merge Merge a pull request
publish Publish PullRequest (change status to open)
reopen Reopen PullRequest

Inherited flags

Flag Description
--env string Override Sourcecraft environment (use 'src envs' to list available)
--json string Output JSON, optionally filtered (--json or --json=field1,field2)
--json-compact string Output compact JSON, optionally filtered
--plain Output without colors/styling (for LLM consumption)
-R, --repo string Select another repository using OWNER/REPO format
-V, --verbose Enable debug logging output

Learn more

Use src pr <subcommand> --help for more information about a command.

Предыдущая
Следующая