get repo github username
Project description
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
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
Close
Hashes for github-fullname-2019.3.22.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b91bfd97b07fdd689a58208635cc54a5460cea33b75f99cbc3000b69a932ff3e |
|
MD5 | c8e7269349548b18c9f99290754e5d3d |
|
BLAKE2b-256 | 54f5d82f3145ed7bc32ee7258b38168f93a4b1712c1e41714c22d9681cbddfd2 |
Close
Hashes for github_fullname-2019.3.22-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | da6f2a262557fde0ef8a487cc08df36c9e0a1acc8938abecf7b9d2b3c9ff1e3e |
|
MD5 | 5bf9ccd0b965d237efad3439d4c557d0 |
|
BLAKE2b-256 | 4aeff3809d5575891eee80e9cde04852032c5fc26cd97e1789856bbf4d339062 |