(self)
The run method for the command.
The run method for the command.
The run method for the command .
def run(self):
        """The run method for the command."""
        for user in User.query.all():
            if user.admin:
                extra = ' (admin)'
            else:
                extra = ''
            print('{0:s}{1:s}'.format(user.username, extra))
def run ( self ) : for user in User . query . all ( ) : if user . admin : extra = ' (admin)' else : extra = '' print ( '{0:s}{1:s}' . format ( user . username , extra ) )