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
|
import typer
|
||||||
|
|
||||||
from rattail.commands.typer import typer_callback
|
from rattail.commands.typer import make_typer
|
||||||
|
|
||||||
|
|
||||||
messkit_typer = typer.Typer(
|
messkit_typer = make_typer(
|
||||||
callback=typer_callback,
|
name='messkit',
|
||||||
help="Messkit (Generic Data App)"
|
help="Messkit (Generic Data App)"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue