Star GitHub repos from the command line
Project description
ghstar
Star GitHub repos from the command line.
# set the environment variables GH_UNAME and GH_TOKEN
# to your GitHub username and token/password
$ ghstar gokulsoumya/ghstar
Starred gokulsoumya/ghstar
(Because the command line is awesome, browsers are a hassle, and I'm lazy.)
Installation
ghstar
is written in Python3, available on PyPI and installable via pip:
pip install ghstar
Usage
You must first set the environment variables GH_UNAME
and GH_TOKEN
to
your GitHub username and token/password. It is recommended to use a
token with public_repo
scope
instead of your password though either one works.
$ ghstar --help
usage: ghstar [-h] [-i] [-n SEARCH_COUNT] repo
Star GitHub repos from the command line.
positional arguments:
repo name of repo to star
optional arguments:
-h, --help show this help message and exit
-i, --interactive search for a repo and star interactively
-n SEARCH_COUNT, --search-count SEARCH_COUNT
number of search results to show when run
interactively
examples:
ghstar gokulsoumya/ghstar
ghstar jlevy/the-art-of-command-line
Contributing
If you have a feature request or if you've found a nasty lil bug, definitely open an issue. And PRs are, as always, welcome.
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
Built Distribution
File details
Details for the file ghstar-0.2.0.tar.gz
.
File metadata
- Download URL: ghstar-0.2.0.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/0.12.17 CPython/3.7.5rc1 Linux/5.2.0-19.1-liquorix-amd64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09c96a3b970c56292ce0e0648daf06579240ff607b96ecf97ac778c963ea5482 |
|
MD5 | 6129f03635ffac8be3c074aa87da5d97 |
|
BLAKE2b-256 | 7b3365c853a89ca3f89fd91f213faec803c81094380417c6783adc02ece81a4f |
File details
Details for the file ghstar-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: ghstar-0.2.0-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/0.12.17 CPython/3.7.5rc1 Linux/5.2.0-19.1-liquorix-amd64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 157fa700a4eeac415fe613115f3534ca70b210f14004235183daee8c72464d98 |
|
MD5 | 5c7f8a4da8470b58bd690e3a0e972396 |
|
BLAKE2b-256 | 8747a9fe17f4fbc57a4de529e851590b10677445e4e74bff0d1d342177245982 |