diff --git a/wuttapos/commands.py b/wuttapos/commands.py index 684c943..54dfd19 100644 --- a/wuttapos/commands.py +++ b/wuttapos/commands.py @@ -29,14 +29,14 @@ import logging import typer from rattail.files import resource_path -from rattail.commands.typer import typer_callback +from rattail.commands.typer import make_typer log = logging.getLogger(__name__) -wuttapos_typer = typer.Typer( - callback=typer_callback, +wuttapos_typer = make_typer( + name='wuttapos', help="WuttaPOS (point of sale)" )