This commit is contained in:
2026-03-17 19:48:33 +03:00
parent 688dec6591
commit de7972c14f
6 changed files with 149 additions and 3 deletions
+16 -3
View File
@@ -1,6 +1,13 @@
from typer import Typer
from .commands import init_handler, new_handler, routes_handler, run_handler, info_handler
from .commands import (
build_handler,
info_handler,
init_handler,
new_handler,
routes_handler,
run_handler,
)
def main() -> None:
@@ -25,14 +32,14 @@ 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.command(
name="info",
help="Displays information about the installed Argenta package and environment",
@@ -40,6 +47,12 @@ def main() -> None:
epilog="Uses metadata to retrieve the installed package version.",
)(info_handler)
app.command(
name="build",
help="Compiles the project into a standalone binary using Nuitka",
short_help="Build a standalone binary",
)(build_handler)
app()