src pr get

Get PullRequest

Usage

src pr get [<pull-request>] [flags]

Examples

Get current PR (based on current branch)

src pr get

Get pull request by number

src pr get 42

Get pull request from another repo

src pr get 42 -R foo/bar

JSON output

src pr get --json

Open in browser

src pr get --web

Flags

Flag Description
-w, --web Open in browser after completion
--pull-request-id string

Inherited flags

Flag Description
--env string Override Sourcecraft environment (use 'src envs' to list available)
--json string Output JSON, optionally filtered (--json or --json=field1,field2)
--json-compact string Output compact JSON, optionally filtered
--plain Output without colors/styling (for LLM consumption)
-R, --repo string Select another repository using OWNER/REPO format
-V, --verbose Enable debug logging output

Learn more

Use src pr get <subcommand> --help for more information about a command.

Предыдущая
Следующая