fix: use rattail function to create top-level command

share code in case logic ever changes
This commit is contained in:
Lance Edgar 2024-07-01 11:50:30 -05:00
parent b5599f8d49
commit 38f3528fc2

View file

@ -26,11 +26,11 @@ Messkit commands
import typer
from rattail.commands.typer import typer_callback
from rattail.commands.typer import make_typer
messkit_typer = typer.Typer(
callback=typer_callback,
messkit_typer = make_typer(
name='messkit',
help="Messkit (Generic Data App)"
)