azure-devops-pr-cli

CLI to view active pull requests on Azure DevOps.

Usage no npm install needed!

<script type="module">
  import azureDevopsPrCli from 'https://cdn.skypack.dev/azure-devops-pr-cli';
</script>

README

azure-devops-pr-cli

CLI to view active pull requests on Azure DevOps.

npm

Install

npm i -g azure-devops-pr-cli

Usage

# 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

Future Development Goals

  • 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.

License

ISC