mirror of
https://github.com/jwinterm/tubbymemes.git
synced 2026-10-17 05:21:28 +02:00
12 lines
166 B
Python
12 lines
166 B
Python
from flask import Blueprint
|
|
|
|
from suchwowx.factory import db
|
|
|
|
|
|
bp = Blueprint('cli', 'cli', cli_group=None)
|
|
|
|
|
|
@bp.cli.command('init')
|
|
def init():
|
|
db.create_all()
|