This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pip install pygithub | |
#python delete.py <username> <token> | |
#https://github.com/settings/tokens | |
#Create a token with delete permission and all other repo permission | |
#https://i.imgur.com/1mrTjTJ.png | |
import sys | |
from github import Github | |
username = sys.argv[1] | |
token = sys.argv[2] | |
g = Github(username, token) |