more crap

This commit is contained in:
2025-05-26 22:25:39 -05:00
parent eb111dde14
commit 7bff7f0bd3
18 changed files with 265 additions and 225 deletions

View File

@ -1,10 +1,6 @@
from .seed import preload_data, seed_admin
import click
from flask import Flask
cli_commands = [
preload_data,
seed_admin
]
def register_cli(app):
for command in cli_commands:
app.cli.add_command(command)
def register_cli(app: Flask):
from .seed import preload_data_cli
app.cli.add_command(preload_data_cli)