예제 #1
0
파일: list.py 프로젝트: barber223/AudioApp
 def Run(self, args):
     accounts = auth_util.AllAccounts()
     if args.filter_account:
         accounts = [
             a for a in accounts if a.account == args.filter_account
         ]
     return accounts
예제 #2
0
 def Epilog(self, unused_results_were_displayed):
   accounts = auth_util.AllAccounts()
   printer = resource_printer.Printer(
       auth_util.ACCOUNT_TABLE_FORMAT,
       out=log.status)
   printer.Print(accounts)