mirror of
https://github.com/koloideal/Argenta.git
synced 2026-08-08 17:01:13 +03:00
update
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user