get user github repos
Project description
Installation
$ [sudo] pip install github-repos
Config
bash | python |
---|---|
export GITHUB_TOKEN="your_github_token" |
os.environ["GITHUB_TOKEN"]="your_github_token" |
Functions
function | __doc__ |
---|---|
github_repos.repos(login=None) |
return a list of user repos |
Executable modules
usage | __doc__ |
---|---|
python -m github_repos [login] |
print user repos |
Examples
delete orphaned repos (if basename = repo name)
$ cd ~/git/owner
$ python -m github_repos | awk -F '/' '{print $2}' | grep -v -iF "$(ls -1)" | xargs python -m github_delete
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
github-repos-2019.4.13.tar.gz
(1.7 kB
view hashes)