new command info

This commit is contained in:
2026-03-17 10:28:26 +03:00
parent 8d68cdc40d
commit 688dec6591
4 changed files with 46 additions and 1 deletions
+8 -1
View File
@@ -1,6 +1,6 @@
from typer import Typer
from .commands import init_handler, new_handler, routes_handler, run_handler
from .commands import init_handler, new_handler, routes_handler, run_handler, info_handler
def main() -> None:
@@ -32,6 +32,13 @@ def main() -> None:
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",
short_help="Show Argenta version and environment info",
epilog="Uses metadata to retrieve the installed package version.",
)(info_handler)
app()