Package commands :: Module get_admins
[hide private]
[frames] | no frames]

Source Code for Module commands.get_admins

 1  import click 
 2  from coprs import models 
3 4 @click.command() 5 -def get_admins():
6 """ 7 Display list of admins 8 """ 9 for u in models.User.query.filter(models.User.admin == True).all(): 10 print(u.username)
11