src pr remove-label

Remove labels from a pull request

Usage

src pr remove-label [<pull-request>] <slug> [<slug>...] [flags]

Examples

Remove label from current PR (context-inferred)

src pr remove-label bug

Remove label from a pull request by number

src pr remove-label 42 bug

Remove multiple labels

src pr remove-label 42 bug enhancement

Remove label without notifications

src pr remove-label 42 bug --silent

Remove label in another repository

src pr remove-label 42 bug -R foo/bar

Flags

Flag Description
--pull-request-id string Pull request UUID (alternative to slug)
--silent Suppress notifications
--ids stringArray Label UUIDs to remove
--slugs stringArray Label slugs to remove

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 remove-label <subcommand> --help for more information about a command.

Previous
Next