dotnet-pr 4.0.0

dotnet tool install --global dotnet-pr --version 4.0.0                
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local dotnet-pr --version 4.0.0                
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=dotnet-pr&version=4.0.0                
nuke :add-package dotnet-pr --version 4.0.0                

NuGet NuGet Build

dotnet-pr

This a .NET Core Global Tool that ..

  1. Given your terminals working directory is a git repo

  2. That git repo has a remote that is a code collaboration tool (ex. origin → GitHub/BitBucket/GitLab/Azure DevOps)

  3. Opens your default browser in the Pull Request UI for the current branch in the tool connected to the remote branch.

Installation

  • Running the tool: .NET 7 or 8
  • Development: .NET 8 SDK

Install

$ dotnet tool install dotnet-pr -g

Usage

After install, navigate to a git repo and call pr from the terminal.

Optional arguments

  • debug output
$ pr --debug
  • Target the PR towards another branch than master (default)
$ pr <your-target-branch-here>

Supported PR tools

  • github.com
  • bitbucket.org
  • gitlab.com
  • dev.azure.com (Azure DevOps, dev.azure.com/{org})
  • dev.azure.com (Azure DevOps Private, {org}.visualstudio.com)
  • (Bitbucket (Self-Hosted))
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
4.0.0 81 2/16/2025
3.0.0 947 11/15/2023
3.0.0-feature0015-8f84709 224 11/15/2023
2.0.3 517 8/22/2023
2.0.1 1,236 11/2/2021
2.0.0 461 10/21/2021
1.8.1 1,836 10/2/2019
1.8.0 616 10/1/2019
1.8.0-beta20191001115135 484 10/1/2019
1.7.1 1,149 1/23/2019
1.7.0 798 1/6/2019