https://github.com/koloideal/argenta
Python library for building modular CLI applications
https://github.com/koloideal/argenta
cli library python shell tui
Last synced: about 1 year ago
JSON representation
Python library for building modular CLI applications
- Host: GitHub
- URL: https://github.com/koloideal/argenta
- Owner: koloideal
- License: mit
- Created: 2025-02-06T20:56:33.000Z (over 1 year ago)
- Default Branch: kolo
- Last Pushed: 2025-05-12T13:22:36.000Z (about 1 year ago)
- Last Synced: 2025-05-16T00:15:04.533Z (about 1 year ago)
- Topics: cli, library, python, shell, tui
- Language: Python
- Homepage: https://argenta-docs.vercel.app
- Size: 4.64 MB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.de.md
- License: LICENSE
Awesome Lists containing this project
README
# Argenta
### Bibliothek zum Erstellen modularer CLI-Anwendungen

---
# Installation
```bash
pip install argenta
```
or
```bash
poetry add argenta
```
---
# Schnellstart
Ein Beispiel für eine einfache Anwendung
```python
# 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(response: Response):
print("Hello, world!")
```
```python
# main.py
from argenta.app import App
from argenta.orchestrator import Orchestrator
from routers import router
app: App = App()
orchestrator: Orchestrator = Orchestrator()
def main() -> None:
app.include_router(router)
orchestrator.start_polling(app)
if __name__ == '__main__':
main()
```
---
# Funktionen in der Entwicklung
- Vollständige Unterstützung für Autocompleter unter Linux
## Vollständige [Dokumentation](https://argenta-docs.vercel.app) | MIT 2025 kolo | made by [kolo](https://t.me/kolo_id)