Skip to main content

A command line interface for creating pull requests

Project description

pull-requests

⬆️ A command line tool for creating pull requests.

Installation

pip install pull-requests

Usage

First of all, you need to have a file in your project root directory called pr.json. That file needs to have the following fields in order to make the program works. See below an example of that file structure:

{
    "username": "YOUR_GITHUB_USERNAME",
    "repository": "YOUR_REPOSITORY_NAME",
    "token": "YOUR_GITHUB_ACCESS_TOKEN"
}

That's is everything we need to use the program. Now, on your project root directory, you can the following command:

pull-requests --from "HEAD_BRANCH" --to "BASE_BRANCH" --title "Some title" --body "Some optional body text"

License

This project is licensed under the MIT license. See LICENSE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pull-requests-1.1.0.tar.gz (3.8 kB view details)

Uploaded Source

File details

Details for the file pull-requests-1.1.0.tar.gz.

File metadata

  • Download URL: pull-requests-1.1.0.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for pull-requests-1.1.0.tar.gz
Algorithm Hash digest
SHA256 7c83e88eb2cf9e86fb221fd9cf008d45013500151cdf010a0ff265f8792fccb9
MD5 82bb2e3aa051f879153cf1c8ad584f03
BLAKE2b-256 4e1debc284770dc0235b89b706bca6548d8cc2fff884b204fba4e7e7da2bc4bd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page