A collection of useful GitHub commands
Project description
# ghb
This is a small set of scripts for working with github. Unlike hub or gh the purpose of this is not to override git and add functionality on top of that. Instead this uses a git like method of looking for executables named ghb-* and nesting them under the ghb command. This allows you to create simple single purpose scripts in any language.
## Commands
[approve](ghb/approve.py), quickly approve a PR with a GitHub review
[assignme](ghb/assignme.py), assign yourself to a PR
[block](ghb/block.py), block users on GitHub
[clear-comments](ghb/clear_comments.py), delete all comments on a pull request
[comment](ghb/comment.py), comment on a list of issues / PRs
[contributions](ghb/contributions.py), view the number of contributions you’ve made today
[create](ghb/create.py), create github repos.
[download-release](ghb/download_release.py), download the most recent release from a repo
[get-blocks](ghb/get_blocks.py), get the users you’ve blocked
[greenify](ghb/greenify.py), force all statuses on a PR to be gren
[langs](ghb/langs.py), get the language breakdown for a repo
[ls-notifications](ghb/ls_notifications.py), list your unread notifications
[me](ghb/me.py), open your GitHub profile
[notifications](ghb/notifications.py), open your unread notifications in the browser
[pr](ghb/pr.py), open a PR from the current branch
[protect](ghb/protect.py), enable/disable branch protection for a specific repo and branch
[unblock](ghb/unblock.py), unblock a GitHub user
[unwatch](ghb/unwatch.py), bulk unwatch repos
[watch](ghb/watch.py), watch a repo
See the header comment in each individual file for specific usage.
### Installation
` brew install keith/formulae/ghb `
Or:
` pip install ghb `
(and install zsh/_ghb if you want zsh completions)
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
Built Distribution
File details
Details for the file ghb-1.7.0.tar.gz
.
File metadata
- Download URL: ghb-1.7.0.tar.gz
- Upload date:
- Size: 11.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.20.0 setuptools/49.1.2 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f44b0b18f8d3fafa24f431174122a24b235b4bee30957f05af06319c585efb8 |
|
MD5 | 75f10f37bf9b57125686d728789e809e |
|
BLAKE2b-256 | 6ebed96daee3464905a75d0c94505b54f16ee2a647bc6872ddf549afff180632 |
File details
Details for the file ghb-1.7.0-py3-none-any.whl
.
File metadata
- Download URL: ghb-1.7.0-py3-none-any.whl
- Upload date:
- Size: 19.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.20.0 setuptools/49.1.2 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fcb8c0246db6e96d88fe02c66a3ead614e56b1812903a4afe3947095374e792d |
|
MD5 | 9dbce33d1548838f45e43e29726dbdee |
|
BLAKE2b-256 | e74ca17133ba37c14c6cb187b16ecec9bf01d9e656fc3d520043197523c2c9d7 |