An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# Argenta

### Bibliothek zum Erstellen modularer CLI-Anwendungen

![preview](https://github.com/koloideal/Argenta/blob/kolo/imgs/mock_app_preview4.png?raw=True)

---

# 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)