简介

May 6, 2026 · View on GitHub

sandbox template get(别名 gt)查看模板的详细信息,包括构建记录。

格式

qshell sandbox template get [templateID]
qshell sbx tpl gt [templateID]

帮助文档

$ qshell sandbox template get -h
$ qshell sandbox template get --doc

鉴权

需要配置 QINIU_API_KEYE2B_API_KEY 环境变量。

参数

  • templateID:模板 ID。未传入时,自动读取当前目录 qshell.sandbox.toml;优先使用 template_id,否则按 name 查找远端模板

示例

  1. 通过参数查看模板详情
$ qshell sandbox template get tmpl-xxxxxxxxxxxx
$ qshell sbx tpl gt tmpl-xxxxxxxxxxxx
  1. 读取当前目录 qshell.sandbox.toml 中的 template_idname
$ qshell sandbox template get
$ qshell sbx tpl gt