Lists open pull requests in a given Azure DevOps project.
Install the tool via the following steps:
- Clone the repository
- Navigate to the repository root
- Run
dotnet pack --output nupkg/
- Run
dotnet tool install -g azure-devops-prs --add-source=./nupkg
Next, you need to configure the tool.
Update is done by uninstall, followed by install.
dotnet tool uninstall azure-devops-prs --global
- Repeat steps for installation
azure-devops-prs
reads configuration from a json file.
The json file should have the following properties:
{
"url": "https://your-azure-devops-url"*,
"pat": "personal-access-token"**,
"project": "name-of-project"
}
* Note that the url should not contain the project
** The personal access token must have read repository permissions
The folder where the file should be located depends on your operating system.
- Linux:
~/.config/azure-devops-prs/config.json
- Windows:
%APPDATA%\azure-devops-prs\config.json
Run azure-devops-prs
from your terminal of choice.