__main__.py 291 B

1234567891011121314
  1. # -*- coding: utf-8 -*-
  2. """
  3. flask.__main__
  4. ~~~~~~~~~~~~~~
  5. Alias for flask.run for the command line.
  6. :copyright: © 2010 by the Pallets team.
  7. :license: BSD, see LICENSE for more details.
  8. """
  9. if __name__ == '__main__':
  10. from .cli import main
  11. main(as_module=True)