src pr labels

List labels on a pull request

Usage

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

Examples

List labels on current PR (context-inferred)

src pr labels

List labels on a pull request by number

src pr labels 42

List labels from another repository

src pr labels 42 -R foo/bar

JSON output

src pr labels 42 --json

Flags

Flag Description
-L, --limit int Maximum number of items to return (default "30")
--pull-request-id string Pull request UUID (alternative to slug)

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
-R, --repo string Select another repository using OWNER/REPO format
-V, --verbose Enable debug logging output

Learn more

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

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