githubhooks egy egyszerű Python modul célja, hogy sorolja fel és teszteljék GitHub horgok, amelyeket korábban aktív.
Telepítés
pip telepíteni githubhooks
Használat
Beállítás OAuth token env var
(GitHub-horgok) Jon @ lenovo ~ / kód / GitHub-horog $ source GITHUB_TOKEN
Listing álló horgok
(GitHub-horgok) Jon @ lenovo ~ / kód / GitHub-horog $ githubhooks.py lista
.. Listázása Horog által Repository ..
xam: 414.859 (Travis)
XBMC-vimcasts: 416.593 (Travis)
xbmcswift: 78.826 (Twitter)
xbmcswift2: 239.826 (readthedocs)
Figyelmeztetés: Ugró előrejelzés, mivel nem tudtam elérni horgokat. Talán nincs engedélye.
Megadása horgok futtatni, mint args
(GitHub-horgok) Jon @ lenovo ~ / kód / GitHub-horog $ githubhooks.py --hook xam: 414.859 --hook XBMC-vimcasts: 416.593 run
Kiváltó horog Travis számára xam ... OK
Kiváltó horog Travis az XBMC-vimcasts ... OK
Megadása horgok futtatni egy config file
(GitHub-horgok) Jon @ lenovo ~ / kód / GitHub-horog $ cat horgok
# Travis
xam: 414859
# Travis
XBMC-vimcasts: 416593
(GitHub-horgok) Jon @ lenovo ~ / kód / GitHub-horog $ githubhooks.py --config horgok fut
Kiváltó horog Travis számára xam ... OK
Kiváltó horog Travis az XBMC-vimcasts ... OK
követelmények :
- Python
Hozzászólás nem található