From ad5fb622e8171c7a5c8b2b917a2f88942de0581d Mon Sep 17 00:00:00 2001 From: Huawei Date: Thu, 9 Jul 2026 15:10:10 +0000 Subject: [PATCH] =?UTF-8?q?docs:=20suites-help/SDK=E5=8F=82=E8=80=83/CLI-?= =?UTF-8?q?=E5=8F=82=E8=80=83.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- suites-help/SDK参考/CLI-参考.md | 48 +++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 suites-help/SDK参考/CLI-参考.md diff --git a/suites-help/SDK参考/CLI-参考.md b/suites-help/SDK参考/CLI-参考.md new file mode 100644 index 0000000..b290836 --- /dev/null +++ b/suites-help/SDK参考/CLI-参考.md @@ -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 +``` + +### 执行 + +```bash +# 执行套件 +agc run --inputs '{"expression": "1+1"}' + +# 查看执行状态 +agc status +``` + +### 开发 + +```bash +# 从模板创建新套件 +agc init ./my-suite + +# 发布套件 +agc publish ./my-suite +```