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:
24
README.md
24
README.md
@@ -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.
|
||||
|
||||
## 技术栈
|
||||
|
||||
|
||||
Reference in New Issue
Block a user