feat: 初始化 ekb-cli 项目骨架

- 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 响应完善)
This commit is contained in:
gitea committed 2026-04-05 23:59:18 +08:00
commit b4a0698b13
10 files changed
+481

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
"""ekb-cli:快报命令行工具"""
import typer
from ekb_cli.commands import auth, agent
app = typer.Typer(
name="ekb",
help="快报(ekuaibao)命令行工具",
no_args_is_help=True,
)
app.add_typer(auth.app, name="auth")
app.add_typer(agent.app, name="agent")
def main():
app()