diff --git a/.github/workflows/ruff.yml b/.github/workflows/ruff.yml index 364bd18..d051911 100644 --- a/.github/workflows/ruff.yml +++ b/.github/workflows/ruff.yml @@ -27,4 +27,4 @@ jobs: pip install ruff - name: Run linter - run: ruff check ./argenta + run: ruff check ./src diff --git a/README.md b/README.md index 68f2fa6..2eaa609 100644 --- a/README.md +++ b/README.md @@ -24,12 +24,13 @@ poetry add argenta # routers.py from argenta.router import Router from argenta.command import Command +from argenta.response import Response router = Router() @router.command(Command("hello")) -def handler(): +def handler(response: Response): print("Hello, world!") ``` diff --git a/pyproject.toml b/pyproject.toml index a1a2558..e71d57d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "argenta" -version = "1.0.0" +version = "1.0.1" description = "Python library for building modular CLI applications" authors = [{ name = "kolo", email = "kolo.is.main@gmail.com" }] requires-python = ">=3.11, <4.0"