Reports and stuff

This commit is contained in:
Pablo Martin 2023-08-03 22:33:34 +02:00
parent 1ca5de8aed
commit 102c4ae31c
2 changed files with 140 additions and 3 deletions

View file

@ -14,6 +14,14 @@ def check_health():
controllers.check_health()
@app.command()
def generate_sku_report(
start_date: Annotated[datetime.datetime, typer.Option(prompt=True)],
end_date: Annotated[datetime.datetime, typer.Option(prompt=True)],
sku: Annotated[str, typer.Option(prompt=True)]
):
controllers.generate_sku_report(start_date, end_date, sku)
@app.command()
def generate_um_report(
start_date: Annotated[datetime.datetime, typer.Option(prompt=True)],