[project]
name = "cnmaestro"
version = "0.1.0"
description = "CLI for cnMaestro Cloud: offline-device cleanup + bulk firmware upgrades"
requires-python = ">=3.11"
dependencies = [
    "httpx>=0.27",
    "click>=8.1",
    "rich>=13.7",
    "python-dotenv>=1.0",
]

[project.scripts]
cnmaestro = "cnmaestro.cli:main"

[dependency-groups]
dev = [
    "pytest>=8",
    "respx>=0.21",
    "pytest-asyncio>=0.23",
]

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

[tool.hatch.build.targets.wheel]
packages = ["cnmaestro"]

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