Move cli interface code in package

This commit is contained in:
Patrick Jentsch
2023-05-11 16:33:21 +02:00
parent 8c935820e8
commit 336bbc39e4
11 changed files with 121 additions and 83 deletions

View File

@ -1,5 +1,5 @@
from flask import Blueprint
bp = Blueprint('main', __name__)
bp = Blueprint('main', __name__, cli_group=None)
from . import routes

View File

@ -7,7 +7,7 @@ from sqlalchemy import or_
from . import bp
@bp.route('', methods=['GET', 'POST'])
@bp.route('/', methods=['GET', 'POST'])
@register_breadcrumb(bp, '.', '<i class="material-icons">home</i>')
def index():
form = LoginForm()