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.1.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pull_requests-1.1.1-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pull-requests-1.1.1.tar.gz
  • Upload date:
  • Size: 4.4 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.1.tar.gz
Algorithm Hash digest
SHA256 23dc8ad5c6115a3a50ded9d3a6fa6d5d5de19e28280a8248b975952b6da5647c
MD5 4b5aad411df95802bb97efe5148caffb
BLAKE2b-256 09596f6dedcd1f02a61adb7e834552375c78ea52fbffa534201bdb4c2c9250fb

See more details on using hashes here.

File details

Details for the file pull_requests-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: pull_requests-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 6.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for pull_requests-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e5a6e0dbc0e24506d57c0e94c07c70ea7f56e06c7cc970fd62cf6c3bc9dd5120
MD5 881a243ec88f6cf9d08f2dfdd94841c6
BLAKE2b-256 465e5541be3db17e4f9b283243f8b431253e2b9b9194293a0869986216dca851

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