This commit is contained in:
2025-05-09 23:33:54 +03:00
parent ed1cbf0fcf
commit 05379712f4
3 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -27,4 +27,4 @@ jobs:
pip install ruff pip install ruff
- name: Run linter - name: Run linter
run: ruff check ./argenta run: ruff check ./src
+2 -1
View File
@@ -24,12 +24,13 @@ poetry add argenta
# routers.py # routers.py
from argenta.router import Router from argenta.router import Router
from argenta.command import Command from argenta.command import Command
from argenta.response import Response
router = Router() router = Router()
@router.command(Command("hello")) @router.command(Command("hello"))
def handler(): def handler(response: Response):
print("Hello, world!") print("Hello, world!")
``` ```
+1 -1
View File
@@ -1,6 +1,6 @@
[project] [project]
name = "argenta" name = "argenta"
version = "1.0.0" version = "1.0.1"
description = "Python library for building modular CLI applications" description = "Python library for building modular CLI applications"
authors = [{ name = "kolo", email = "kolo.is.main@gmail.com" }] authors = [{ name = "kolo", email = "kolo.is.main@gmail.com" }]
requires-python = ">=3.11, <4.0" requires-python = ">=3.11, <4.0"