__main__.py 254 B

123456789101112131415
  1. # -*- coding: utf-8 -*-
  2. """
  3. flask.__main__
  4. ~~~~~~~~~~~~~~
  5. Alias for flask.run for the command line.
  6. :copyright: 2010 Pallets
  7. :license: BSD-3-Clause
  8. """
  9. if __name__ == "__main__":
  10. from .cli import main
  11. main(as_module=True)