Managed to get the sku doing the same thing as the previous code.

This commit is contained in:
counterweight 2023-09-06 14:20:28 +02:00
parent f3776966bc
commit 83743ca526
Signed by: counterweight
GPG key ID: 883EDBAA726BD96C
5 changed files with 43 additions and 13 deletions

View file

@ -5,7 +5,10 @@ import typer
from typing_extensions import Annotated
import camisatoshi_wordpress_reports.controllers as controllers
import camisatoshi_wordpress_reports.logging as our_logging
our_logging.set_config_level()
app = typer.Typer()
@ -20,7 +23,7 @@ def generate_sku_report(
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)
controllers.wip_generate_sku_report(start_date, end_date, sku)
@app.command()
def generate_um_report(