GitHub CLI Utilities
Project description
GH Utilities
A collection of useful utilities that work with GitHub CLI gh
.
Installation
pipx
This is the recommended installation method.
$ pipx install gh-utils
pip
$ pip install gh-utils
Utilities
ghcrar
Features
- Custom GitHub instance hostname support with
--hostname
- Supports both
ssh
andhttps
protocols
Usage
$ ghcrar --help
usage: ghcrar [-h] [-a SUFFIX] [-n GITHUB REPO NAME] [--public] [--overwrite_remote_origin] [-H {ssh,https}] [-p PROTOCOL] [-V]
Create a GitHub repo with gh and add it as a remote
options:
-h, --help show this help message and exit
-a SUFFIX, --append SUFFIX
String to append to the repo name (default: None)
-n GITHUB REPO NAME, --name GITHUB REPO NAME
The string to use as GitHub repo name (default: None)
--public Create a public repository (default: False)
--overwrite-remote-origin, --force
Overwrites remote origin if exists (default: False)
-H {ssh,https}, --hostname {ssh,https}
GitHub hostname, default to use the first entry in hosts.yml (default: github.com)
-p PROTOCOL, --protocol PROTOCOL
git protocol (default: ssh)
-V, --version show program's version number and exit
Screenshots
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gh-utils-0.2.2.tar.gz
(4.9 kB
view details)
Built Distribution
File details
Details for the file gh-utils-0.2.2.tar.gz
.
File metadata
- Download URL: gh-utils-0.2.2.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.0b2 CPython/3.10.4 Darwin/21.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 385312f76cc86cda2671bb30035cfe4123edad46175c0ab8395c5952f7497c11 |
|
MD5 | 20b6862657a2b229ba7dee95f9c8b249 |
|
BLAKE2b-256 | 9e14cef3abb38ad435fc5a0d101bbb26c016542490832b979028e4feb7e28ea7 |
File details
Details for the file gh_utils-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: gh_utils-0.2.2-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.0b2 CPython/3.10.4 Darwin/21.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8585402924ceda10c8a5343dc01824c21822bfd7661aad63b604f3da753e6d1f |
|
MD5 | 23ce4b4ab560633d9b0f1dfd1d9ebc1f |
|
BLAKE2b-256 | 388a891fb697cc80e0eec1c5d1266a5dfff75cc4bab3bd480486048d16eefc43 |