get repo github username
Project description
Installation
$ [sudo] pip install github-fullname
Scripts usage
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
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
Close
Hashes for github-fullname-2019.4.13.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b380d768ff5067eaa52aebea7cd7afa9a54e6c48d77e644e1c01bb85479f4110 |
|
MD5 | 4eb636228854aba38c36b0b5ff6aa2af |
|
BLAKE2b-256 | 5f4003fcc0889a0b9b394c4e12b35398278f455932897bd9d8c9847fcc2f7028 |