- uv 管理 Python 环境,typer + httpx + rich 技术栈 - config 模块:多企业认证信息存储到 ~/.config/ekb-cli/config.json - api 模块:EkbClient 封装 HTTP 请求,自动附带 cookie 和 corpId - auth 命令:add / list / use / remove / whoami - agent 命令:list 骨架(待根据 API 响应完善)
22 lines
417 B
TOML
22 lines
417 B
TOML
[project]
|
|
name = "ekb-cli"
|
|
version = "0.1.0"
|
|
description = "Add your description here"
|
|
readme = "README.md"
|
|
authors = [
|
|
{ name = "yunyingk", email = "haoda2195176187@gmail.com" }
|
|
]
|
|
requires-python = ">=3.12"
|
|
dependencies = [
|
|
"httpx>=0.28.1",
|
|
"rich>=14.3.3",
|
|
"typer>=0.24.1",
|
|
]
|
|
|
|
[project.scripts]
|
|
ekb = "ekb_cli:main"
|
|
|
|
[build-system]
|
|
requires = ["uv_build>=0.10.12,<0.11.0"]
|
|
build-backend = "uv_build"
|