fix(#8): 修正 --inputs JSON 语法为 --input key=val
This commit is contained in:
@@ -15,9 +15,10 @@
|
|||||||
3. 准备本地的数据文件 → 文件在你的硬盘上
|
3. 准备本地的数据文件 → 文件在你的硬盘上
|
||||||
记下文件路径
|
记下文件路径
|
||||||
4. 执行套件 → gis-actions 从市场拉取脚本包
|
4. 执行套件 → gis-actions 从市场拉取脚本包
|
||||||
agc run /tmp/output --suite-id <suite-id> --input key=val → 启动本地 Docker 容器
|
agc run /tmp/output → 启动本地 Docker 容器
|
||||||
--inputs '{"input_path": → 将你的路径挂载到容器内
|
--suite-id <suite-id> → 从市场拉取脚本包
|
||||||
"/data/myfile.shp"}' → 脚本在容器中处理你的文件
|
--input input_path= → 将你的路径挂载到容器内
|
||||||
|
/data/myfile.shp → 脚本在容器中处理你的文件
|
||||||
→ 结果写入 /tmp/output/
|
→ 结果写入 /tmp/output/
|
||||||
5. 查看结果 → 你的机器上的文件
|
5. 查看结果 → 你的机器上的文件
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user