docs: suites-help/SDK参考/CLI-参考.md

This commit is contained in:
2026-07-09 15:10:10 +00:00
parent f6436ec994
commit ad5fb622e8
+48
View File
@@ -0,0 +1,48 @@
# CLI 参考
## 安装
```bash
pip install agentgis-cli
```
## 配置
```bash
agc config set api-key mk_xxxxxxxxxxxxx
```
## 命令
### 查询套件
```bash
# 列出所有套件
agc suites list
# 搜索套件
agc suites search <关键词>
# 查看套件详情
agc suites get <suite-id>
```
### 执行
```bash
# 执行套件
agc run <suite-id> --inputs '{"expression": "1+1"}'
# 查看执行状态
agc status <task-id>
```
### 开发
```bash
# 从模板创建新套件
agc init ./my-suite
# 发布套件
agc publish ./my-suite
```