copia-cli pr view

copia-cli pr view <number> [flags]

Display the title, body, and other information about a pull request.

Options

--json <strings>
Output JSON with selected fields: [number title body state mergeable author base head created_at]

Options inherited from parent commands

--host <string>
Target Copia host
-R, --repo <string>
Select repository (owner/repo)
--token <string>
Authentication token

Examples

  # View a pull request
  $ copia-cli pr view 7

  # View as JSON
  $ copia-cli pr view 7 --json number,title,mergeable

See also