示例#1
0
 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)