Skip to content
/ cmdpr Public

Command line tool for creating pull requests on GitHub

Notifications You must be signed in to change notification settings

smaant/cmdpr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cmdpr

Command line tool for creating pull requests on GitHub Creates GitHub pull request for current branch in current git repository.

Requirements

  • python 2.7
  • requests
  • PyYAML (for unit tests)

Installation

python setup.py install

Authorization

On first launch you'll be prompted to enter your GitHub login/password (and two-factor authorization code if enabled). Using provided credentials personal access token will be created and stored in config file (~/.config/cmdpr).

Personal access token will grant access to your repositories (public and private) for anyone who has it. Therefore don't use cmdpr on any public or not trusted computers.

In any case you can revoke any of your personal access tokens from your settings on GitHub. See this blog post for more details.

Usage

cmdpr [-h] [-m SUMMARY] [-b BASE_BRANCH] [--debug]

If you don't provide summary, cmdpr will open a text editor with a list of commits on current branch, so you can write one.

If base branch is omitted master will be implied.

Uninstall

The easiest way to uninstall cmdpr is to use pip:

pip uninstall cmdpr

Don't forget to remove your config file if you're not going to use cmdpr later:

rm ~/.config/cmdpr

About

Command line tool for creating pull requests on GitHub

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages