in src/fbosbot/db.py [0:0]
def init_app(app): app.teardown_appcontext(close_db) app.cli.add_command(init_db_command)