prm

command module
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 18, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

README

= PRM - Pull Request Manager

image:https://travis-ci.org/ldez/prm.svg?branch=master["Build Status", link="https://travis-ci.org/ldez/prm"]

If you work in the Open Source Software, you need to review a lot of PR, this tool is made for you.

Feature:

* checkout a PR by his number.
* remove (clean) a PR by his number.
* push force a PR by his number.

Install:

[source, shell]
----
# TODO
----

Currently, only works with GitHub.

== Checkout

[source, shell]
----
prm c --number=1234
# or
prm c -n1234
----

* Add the user git remote named with the user login.
* Checkout the PR branch named like that: `<PR_NUMBER>--<BRANCH_NAME>`
+
ex: `1234--myBranch`

== Remove

== By Number

[source, shell]
----
prm rm --number=1234
# or
prm rm -n1234
----

* Remove the local branch.
* Remove the user git remote if necessary.

== All

[source, shell]
----
prm rm --all
----

* Remove all PR related local branches.
* Remove all PR related git remote.

== Push Force

[source, shell]
----
# recommended
prm pf

# Manual
prm pf --number=1234
# or
prm pf -n1234
----

* Push force the PR related branch.
* Detect the PR number from the branch name.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL