add cli
This commit is contained in:
parent
85554e2169
commit
a21dbb08d4
8 changed files with 285 additions and 43 deletions
11
sqlmodel_base/cli.py
Normal file
11
sqlmodel_base/cli.py
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
import typer
|
||||
|
||||
from sqlmodel_base.hero.cli import hero_app
|
||||
|
||||
app = typer.Typer()
|
||||
|
||||
app.add_typer(hero_app, name="hero")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
app()
|
||||
Loading…
Add table
Add a link
Reference in a new issue