CLI to view active pull requests on Azure DevOps.
npm i -g azure-devops-pr-cli
# Prompts for which project to view active pull requests from
adpr
# Shows all active pull requests across all projects
adpr -a
# Clears first run configuration
adpr --reset
On first run, you will be prompted for your Azure Devops URL, as well as a Personal Access Token (PAT).
PAT must have the following scopes:
- Code - Read
- Project & Team - Read
- User Profile - Read
- Get working with
npx
rather than global install - Code cleanup
- Perhaps expand usage to more than just opening browser to link
- Learn more best practices about writing Node packages
- This was my first published package.