Managed to get the sku doing the same thing as the previous code.
This commit is contained in:
parent
f3776966bc
commit
83743ca526
5 changed files with 43 additions and 13 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue