Skip to content

Instantly share code, notes, and snippets.

View eubnara's full-sized avatar

Yubi Lee eubnara

View GitHub Profile
#!/usr/bin/env python
import os
import re
import sys
if 2 != len(sys.argv):
print "Usage: %s <filename>" % sys.argv[0]
exit(1)
"""Set all repositories of a given GitHub organization name for a given user
to watching.
"""
import argparse
import json
import requests
import getpass
def get_repos(url, repo_list=[], auth=None):