ki-backend/ki/commands.py

11 lines
163 B
Python
Raw Normal View History

2021-06-26 10:51:39 +02:00
import click
2021-06-26 10:51:39 +02:00
from app import app
from ki.actions import seed
2021-06-13 21:41:01 +02:00
@app.cli.command("seed")
2021-06-26 10:51:39 +02:00
@click.option("--dev", is_flag=True)
def seed_command(dev):
seed(dev)