![Forrest logo](/images/logo.png)
az-repos:tldr:c4fa2
This command is using the Azure CLI (Command Line Interface) to list pull requests (PRs) in a specific Azure DevOps project and repository that have an active status.
Here's a breakdown of the command:
-
az repos pr list
: This part of the command is instructing the CLI to list pull requests. -
--project ${project_name}
: This specifies the Azure DevOps project to work with.${project_name}
is a placeholder that needs to be replaced with the actual name of the project. -
--repository ${repository_name}
: This specifies the Azure DevOps repository within the project to work with.${repository_name}
is a placeholder that needs to be replaced with the actual name of the repository. -
--status active
: This option is used to filter the pull requests based on their status. In this case, it specifies to only show pull requests that are in an active status. Other values for the--status
option could be "abandoned", "completed", or "all" to show all pull requests regardless of their status.
By running this command with the appropriate project and repository names, you will get a list of active pull requests within that repository.