2019.3.22 • Published 5 years ago

github-fullname v2019.3.22

Weekly downloads
7
License
Unlicense
Repository
-
Last release
5 years ago

npm.io

get repo github username

Installation

$ [sudo] pip install github-fullname

CLI

usage: github-fullname path

Examples

$ cd path/to/repo
$ github-fullname .
owner/repo
$ find ~/git -type d -mindepth 1 -maxdepth 1 -exec github-fullname {} \;
owner/repo1
SKIP (~/git/repo2): .git NOT EXISTS
owner/repo3
...

hide errors

$ find ~/git -maxdepth 1 -exec github-fullname {} \; 2> /dev/null
owner/repo1
owner/repo3
...

show github orphaned repos:

$ python -m github_repos | grep -v "$(find ~/git -maxdepth 1 -exec github-fullname {} \; 2> /dev/null)"

delete github orphaned repos:

$ python -m github_repos | grep -v "$(find ~/git -maxdepth 1 -exec github-fullname {} \; 2> /dev/null)" | xargs python -m github_delete
2019.3.22

5 years ago

2019.2.27

5 years ago

0.0.1

6 years ago

0.0.0

6 years ago