copia-cli pr create
copia-cli pr create [flags]
Create a pull request on Copia. The –base and –head branches must be specified along with a title.
Options
-
--base <string> (default "main") - Base branch
-b,--body <string>- PR body
-H,--head <string>- Head branch
-t,--title <string>- PR title (required)
Options inherited from parent commands
-
--host <string> - Target Copia host
-R,--repo <string>- Select repository (owner/repo)
-
--token <string> - Authentication token
Examples
# Create a pull request
$ copia-cli pr create --title "feat: add wrapper" --base main --head feature/wrapper
# Create a pull request with a body
$ copia-cli pr create --title "fix: timeout" --base develop --head fix/timeout --body "Fixes #12"