new command routes

This commit is contained in:
2026-03-15 19:56:28 +03:00
parent 0d8871a719
commit 2785779583
6 changed files with 75 additions and 6 deletions
+8 -1
View File
@@ -1,6 +1,6 @@
from typer import Typer
from .commands import init_handler, new_handler, run_handler
from .commands import init_handler, new_handler, routes_handler, run_handler
def main() -> None:
@@ -25,6 +25,13 @@ def main() -> None:
short_help="Create a new project with boilerplate",
epilog="This will create a new directory with the project structure.",
)(new_handler)
app.command(
"routes",
help="Creates a project and in it flat/src boilerplate architecture",
short_help="Create a new project with boilerplate",
epilog="This will create a new directory with the project structure.",
)(routes_handler)
app()