[ 03 ]Commands
copia-cli pr reopen¶
copia-cli pr reopen {<number> | <url>} [flags]
Reopen a closed pull request by number or URL. Optionally add a comment with --comment.
A pull request that is already open is left as it is, and no comment is added. A merged pull request cannot be reopened.
Options¶
-c,--comment <string>- Add a reopening comment
Options inherited from parent commands¶
--host <string>- Target Copia host
-R,--repo <string>- Select repository (owner/repo)
--token <string>- Authentication token
Examples¶
# Reopen a pull request
$ copia-cli pr reopen 7
# Reopen by URL with a comment
$ copia-cli pr reopen --comment "Back on track" \
https://app.copia.io/my-org/my-repo/pulls/7