Skip to content

Commit 1c83cde

Browse files
committed
Added cache support to manage_collaborators.
1 parent 7d1c855 commit 1c83cde

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

github2/bin/manage_collaborators.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ def parse_commandline():
2525
'\nTry %prog --help for details.')
2626
parser.add_option('-d', '--debug', action='store_true',
2727
help='Enables debugging mode')
28+
parser.add_option('-c', '--cache', default=None,
29+
help='Location for network cache [default: None]')
2830
parser.add_option('-l', '--login',
2931
help='Username to login with')
3032
parser.add_option('-a', '--account',
@@ -59,7 +61,7 @@ def main():
5961

6062
github = github2.client.Github(username=options.login,
6163
api_token=options.apitoken,
62-
debug=options.debug)
64+
debug=options.debug, cache=options.cache)
6365

6466
if len(args) == 1:
6567
for repos in github.repos.list(options.account):

0 commit comments

Comments
 (0)