[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "genro-cli"
version = "0.1.0"
description = "Remote CLI for genro-asgi servers via WebSocket/WSX"
requires-python = ">=3.11"
license = "Apache-2.0"
authors = [{ name = "Genropy Team" }]
dependencies = [
    "genro-asgi>=0.3.0",
    "websockets>=12.0",
]

[project.scripts]
genro-cli = "genro_cli.cli:main"

[project.optional-dependencies]
tui = ["textual>=0.50"]
dev = ["pytest", "pytest-asyncio"]

[tool.hatch.build.targets.wheel]
packages = ["src/genro_cli"]

[tool.pytest.ini_options]
asyncio_mode = "auto"
