Sakuten/backend

View on GitHub
app.py

Summary

Maintainability
A
0 mins
Test Coverage
from api.app import create_app, initdb, generate

app = create_app()


@app.cli.command("initdb")
def initdb_():
    initdb()


@app.cli.command("generate")
def generate_():
    generate()