fix: use rattail function to create top-level command
share code in case logic ever changes
This commit is contained in:
parent
b5599f8d49
commit
38f3528fc2
|
@ -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)"
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue