flask/flask/__main__.py

15 lines
291 B
Python
Raw Normal View History

2014-04-21 17:52:04 +02:00
# -*- coding: utf-8 -*-
"""
flask.__main__
~~~~~~~~~~~~~~
Alias for flask.run for the command line.
:copyright: © 2010 by the Pallets team.
2014-04-21 17:52:04 +02:00
:license: BSD, see LICENSE for more details.
"""
if __name__ == '__main__':
2014-05-09 07:48:08 -07:00
from .cli import main
2014-04-21 17:52:04 +02:00
main(as_module=True)