跳转到内容

cnb-rs repo tag list ​

cnb-rs repo tag list [-L <N>] [--page <N>]
cnb-rs repo tag ls   [-L <N>] [--page <N>]

列出仓库 git tag。

选项 ​

  • -L, --limit <N>: 每页数量(默认 100,上限 100)
  • --page <N>: 页码(默认 1)

继承的全局选项:--repo / --json / --domain

输出列 ​

列含义
NAMETag 名(如 v1.2.0)
TYPETarget 对象类型(tag / commit)
TARGET指向的目标对象哈希(前 12 字符)

API ​

步骤API方法
列 tag${CNB_API_ENDPOINT}/{repo}/-/git/tagsGET

另请参阅 ​

Released under the MIT License.