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.
Release files for pull-requests 1.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pull-requests-1.1.2.tar.gz | 4.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pull_requests-1.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.4 kB
Release files / pull-requests-1.1.2.tar.gz
| Download URL | pull-requests-1.1.2.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2b0faa092582e7741f6d7951d143137a6a0bacbe68a3b9823c1bae0a9447783a
|
|
BLAKE2b-256 checksum How to use checksums |
2dd3fa9da50778602d9ae763070517d8814a9d783fe82336af4a5b1fd1305a12
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.9
|
Release files / pull_requests-1.1.2-py3-none-any.whl
| Download URL | pull_requests-1.1.2-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0d410944dafdab3a5553cf30424589dcf684929b899a59c17398b48ca201a3d9
|
|
BLAKE2b-256 checksum How to use checksums |
e5ccdd3d7e0c219d547cbff6dc39cef933434d4d01b7adc70830595894de031a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.9
|