# TODO: migrate to Flask CLI instead of Flask-Script
'''This module enables command line interface for randompeople app.'''
from flask_script import Manager
from app import create_app, db
from app.models import Room, Member

manager = Manager(create_app)

@manager.shell
def make_shell_context():
    ''''''
    return dict(app=manager.app, db=db, Room=Room, Member=Member)

if __name__ == '__main__':
    manager.run()

@@ -218,16 +218,35 @@
 Member%0A%0A
+app = create_app()%0A
 manager 
@@ -255,23 +255,16 @@
 Manager(
-create_
 app)%0A%0A@m
@@ -333,24 +333,16 @@
 ict(app=
-manager.
 app, db=

Add Flask app variable to use with gunicorn