#NEWLINE# def do_list( client , args ) : #NEWLINE# #INDENT# 'Command to list the repos for a given user.' #NEWLINE# user = client . get_user ( args . user ) #NEWLINE# repos = user . get_repos ( ) #NEWLINE# print ( ( '%s has the following repositories:' % args . user ) ) #NEWLINE# print ( 'Name - Description' ) #NEWLINE# for repo in repos : #NEWLINE# #INDENT# print ( ( '%s - %s' % ( repo . name , repos . description ) ) )