docs: 修正全部 CLI 语法 — --inputs to --input key=value
This commit is contained in:
@@ -28,7 +28,7 @@ agc suites list
|
||||
### 执行套件
|
||||
|
||||
```bash
|
||||
agc run <suite-id> --inputs '{"key": "val"}' --wait --poll 5
|
||||
agc run /tmp/output --suite-id <suite-id> --input key=val
|
||||
```
|
||||
|
||||
### 发布套件
|
||||
|
||||
@@ -68,7 +68,7 @@ print(json.dumps(result))
|
||||
## 第四步:测试
|
||||
|
||||
```bash
|
||||
agc run <suite-id> --inputs '{"message": "测试"}'
|
||||
agc run /tmp/output --suite-id <suite-id> --input key=val
|
||||
```
|
||||
|
||||
或直接提交任务到 API:
|
||||
|
||||
@@ -61,7 +61,7 @@ print(json.dumps(result))
|
||||
tar czf scripts.tar.gz workflow.yaml scripts/
|
||||
|
||||
# 发布后执行
|
||||
agc run <suite-id> --inputs '{"message": "你好,AgentGIS!"}'
|
||||
agc run /tmp/output --suite-id <suite-id> --input key=val
|
||||
```
|
||||
|
||||
完整代码参考:`SuiteHub/hello-world-suite`
|
||||
|
||||
Reference in New Issue
Block a user