dotnet-pr 2.0.1

.NET 6.0 .NET Core 3.1
dotnet tool install --global dotnet-pr --version 2.0.1
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 2.0.1
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=dotnet-pr&version=2.0.1
nuke :add-package dotnet-pr --version 2.0.1

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 3 or 6
  • Development: Both .NET 3 and 6

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 Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp3.1
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
2.0.1 578 11/2/2021
2.0.0 212 10/21/2021
1.8.1 1,550 10/2/2019
1.8.0 369 10/1/2019
1.8.0-beta20191001115135 312 10/1/2019
1.7.1 874 1/23/2019
1.7.0 549 1/6/2019