Azure / Azure/azure-cli

Add subcommand for `az repos pr` to list/add/delete tags

Open
#23,627 8 comments 2 reactions 0 assignees View on GitHub
act-platform-engineering-squad customer-reported DevOps Service Attention
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

**Related command**
`az repos pr`

**Is your feature request related to a problem? Please describe.**
I want to use the az cli in my CI/CD pipeline to read tags, but I have to use the REST api instead. It would be great if I could read the tags directly

**Describe the solution you'd like**
`az repos pr tags --id 2582 --detect true`, where `command` is list, add, and delete, and (for add and delete) takes an additional parameter which is the string of the tag to manipulate.

**Describe alternatives you've considered**
I can currently list tags from the REST api, but that is cumbersome and not ideal when I can do other operations directly in the cli.

**Additional context**
none

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.