awips2/pythonPackages/Werkzeug-0.12.1/examples/manage-coolmagic.py
2017-04-21 18:33:55 -06:00

20 lines
500 B
Python
Executable file

#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Manage Coolmagic
~~~~~~~~~~~~~~~~
Manage the coolmagic example application.
:copyright: (c) 2009 by the Werkzeug Team, see AUTHORS for more details.
:license: BSD, see LICENSE for more details.
"""
import os
from coolmagic import make_app
from werkzeug import script
action_runserver = script.make_runserver(make_app, use_reloader=True)
action_shell = script.make_shell(lambda: {})
if __name__ == '__main__':
script.run()