[project]
name = "grape-cli"
dynamic = ["version"]
description = "Agentic DevOps CLI: contract-driven command generation + native git passthrough (zero token exposure)"
readme = "README.md"
requires-python = ">=3.10"
license = { text = "MIT" }
authors = [
    { name = "Yuzhe Liao", email = "jansonzhe@gmail.com" },
]
classifiers = [
    "Programming Language :: Python :: 3",
    "Programming Language :: Python :: 3.10",
    "Programming Language :: Python :: 3.11",
    "Programming Language :: Python :: 3.12",
    "License :: OSI Approved :: MIT License",
    "Operating System :: OS Independent",
    "Environment :: Console",
    "Intended Audience :: Developers",
]
dependencies = [
    "click>=8.0",
    "httpx>=0.24",
]

[project.urls]
Homepage = "https://gitcode.com/grape-dev/grape-cli"
Source = "https://gitcode.com/grape-dev/grape-cli"
Issues = "https://gitcode.com/grape-dev/grape-cli/issues"

[project.optional-dependencies]
dev = [
    "pytest>=7",
]

[project.scripts]
grape = "grape_cli.cli:main"

[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"

[tool.setuptools.packages.find]
include = ["grape_cli*"]

[tool.setuptools.package-data]
grape_cli = ["data/*.json"]

[tool.setuptools.dynamic]
version = { attr = "grape_cli.__version__" }

[tool.pytest.ini_options]
testpaths = ["test"]
pythonpath = ["."]