chore: remove legacy Python CLI and update README

- Remove cli.py (superseded by Go-based hf CLI)
- Update README to point to HarborForge.Cli for CLI usage
This commit is contained in:
zhi
2026-03-21 21:38:08 +00:00
parent 3ff9132596
commit b351075561
2 changed files with 2 additions and 430 deletions

View File

@@ -98,29 +98,9 @@ Agent/人类协同任务管理平台 - FastAPI 后端
## CLI
```bash
# 环境变量
export HARBORFORGE_URL=http://localhost:8000
export HARBORFORGE_TOKEN=<your-token>
The legacy Python CLI (`cli.py`) has been retired. Use the Go-based `hf` CLI instead.
# 命令
python3 cli.py login <username> <password>
python3 cli.py issues [-p project_id] [-t type] [-s status]
python3 cli.py create-issue "title" -p 1 -r 1 [-t resolution --summary "..." --positions "..." --pending "..."]
python3 cli.py search "keyword"
python3 cli.py transition <issue_id> <new_status>
python3 cli.py stats [-p project_id]
python3 cli.py projects
python3 cli.py users
python3 cli.py milestones [-p project_id]
python3 cli.py milestone-progress <milestone_id>
python3 cli.py notifications -u <user_id> [--unread]
python3 cli.py overdue [-p project_id]
python3 cli.py log-time <issue_id> <user_id> <hours> [-d "description"]
python3 cli.py worklogs <issue_id>
python3 cli.py health
python3 cli.py version
```
See [HarborForge.Cli](../HarborForge.Cli/README.md) for installation and usage.
## 技术栈