Skip to content
/ gopr Public

CLI tool for opening PR's with populated query params in a browser

License

Notifications You must be signed in to change notification settings

moore0n/gopr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tag GitHub go.mod Go version GitHub stars

gopr

gopr is a simple CLI tool for opening the pull request url for github.com based on the current branch.

Usage

NAME:
   gopr - Open the link for creating a pull request in Github

USAGE:
   gopr [options...] <target>

VERSION:
   1.0.0

COMMANDS:
   help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --title value   The title for your pull request
   --body value    The body for your pull request
   --remote value  The name of the remote to target (default: "origin")
   --help, -h      show help (default: false)
   --version, -v   print the version (default: false)

Install

go get -u github.com/moore0n/gopr
go install github.com/moore0n/gopr/...

Try

gopr --title "New Feature" --body "This PR introduces a new feature" --remote origin master

Build

If you so choose you can build a binary locally using the supplied build command.

$ make mac

About

CLI tool for opening PR's with populated query params in a browser

Resources

License

Stars

Watchers

Forks

Packages

No packages published