Flask/project_name/__main__.py

14 lines
270 B
Python
Raw Normal View History

2024-11-10 07:27:36 -08:00
import click
from flask.cli import FlaskGroup
from . import create_app_wsgi
@click.group(cls=FlaskGroup, create_app=create_app_wsgi)
def main():
"""Management script for the project_name application."""
if __name__ == "__main__": # pragma: no cover
main()