Skip to main content

A command line interface for creating pull requests

Project description

pull-requests

⬆️ A command line tool for creating pull requests.

Requirements

  • Python 3.10 or above

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.2.tar.gz (4.3 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.2-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pull-requests-1.1.2.tar.gz
Algorithm Hash digest
SHA256 2b0faa092582e7741f6d7951d143137a6a0bacbe68a3b9823c1bae0a9447783a
MD5 a7a17bbf583396328eef5f659a19b6b8
BLAKE2b-256 2dd3fa9da50778602d9ae763070517d8814a9d783fe82336af4a5b1fd1305a12

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pull_requests-1.1.2-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.9

File hashes

Hashes for pull_requests-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0d410944dafdab3a5553cf30424589dcf684929b899a59c17398b48ca201a3d9
MD5 79847ffa279e0e79f743e71f21b154a4
BLAKE2b-256 e5ccdd3d7e0c219d547cbff6dc39cef933434d4d01b7adc70830595894de031a

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