@@ -0,0 +1,324 @@
+from os import environ%0Afrom gloss import create_app, db%0Afrom flask.ext.script import Manager, Shell%0A%0Aapp = create_app(environ)%0Amanager = Manager(app)%0A%0Adef make_shell_context():%0A    return dict(app=app, db=db)%0Amanager.add_command(%22shell%22, Shell(make_context=make_shell_context))%0A%0Aif __name__ == '__main__':%0A    manager.run()%0A

manage script for command-line interaction