Azure / azure-devops-cli-extension

Azure DevOps Extension for Azure CLI
https://docs.microsoft.com/en-us/cli/azure/ext/azure-devops/?view=azure-cli-latest
MIT License
617 stars 239 forks source link

Add a label parameter when creating pull requests #1357

Open Apollo-Roboto opened 1 year ago

Apollo-Roboto commented 1 year ago

Describe the solution you'd like A parameter to add labels to a pull request when creating it with the az repos pr create command.

Example:

az repos pr create \
  --title "A cool pr" \
  --description "With a cool description" \
  --label "documentation"

Additional context The python module azure-devops is already able to create pull request with labels: Reference 1, Reference 2