copia-cli pr list
copia-cli pr list [flags]
List pull requests in a Copia repository. By default, only open pull requests are listed.
Use –state to filter by open, closed, merged, or all states. Use –limit to control how many pull requests are returned (default 30).
Options
-
--json <strings> - Output JSON with selected fields: [number title state author base head updated_at]
-L,--limit <int> (default 30)- Maximum number of pull requests
-s,--state <string> (default "open")- Filter by state: {open|closed|all}
Options inherited from parent commands
-
--host <string> - Target Copia host
-R,--repo <string>- Select repository (owner/repo)
-
--token <string> - Authentication token
Aliases
copia-cli pr ls
Examples
$ copia-cli pr list
$ copia-cli pr list --state closed
$ copia-cli pr list --json number,title,state