copia-cli pr review
copia-cli pr review <number> [flags]
Add a review to a pull request. Use –approve, –request-changes, or –comment to specify the review action.
Options
-
--approve - Approve the PR
-b,--body <string>- Review body text
-
--comment - Leave a review comment
-
--request-changes - Request changes
Options inherited from parent commands
-
--host <string> - Target Copia host
-R,--repo <string>- Select repository (owner/repo)
-
--token <string> - Authentication token
Examples
# Approve a pull request
$ copia-cli pr review 7 --approve
# Request changes
$ copia-cli pr review 7 --request-changes --body "Please fix the tests."
# Leave a comment
$ copia-cli pr review 7 --comment --body "Looks good overall."