[设计] `gh 问题艺术品视图`
作者: BagToad创建于 2026年9月25日更新于 2026年9月28日
标签enhancementgh-issue
What is changing
- Help: Help for
gh issue artifact view
printf 'Display an issue artifact's name, type, authors, content and edit history. A link shows its URL. Name the artifact by its issue and number, or by its URL. `<issue>` is an issue number or URL. Use `--version` to show an earlier version from the edit history. With `--web`, open a document's page on GitHub, or a link's URL. For more information about output formatting flags, see `gh help formatting`.\033[0;1;39mUSAGE\033[0m gh issue artifact view {<issue> <artifact-number> | <artifact-url>} [flags]\033[0;1;39mFLAGS\033[0m -q, --jq expression Filter JSON output using a jq expression -t, --template string Format JSON output using a Go template; see "gh help formatting" -w, --web Open a document's page on GitHub, or a link's URL\033[0;1;39mINHERITED FLAGS\033[0m -R, --repo [HOST/]OWNER/REPO Select another repository using the [HOST/]OWNER/REPO format\033[0;1;39mJSON FIELDS\033[0m body, bodyHtml, createdAt, creator, description, id, name, number, type, updatedAt, updatedByActor, url, versions\033[0;1;39mEXAMPLES\033[0m # View artifact 2 on issue 142 $ gh issue artifact view 142 2 # View an earlier version $ gh issue artifact view 142 2 … ```
---
<details><summary>What is changing</summary>
- **Help**: Help for `gh issue artifact view`
</details>内容来源: cli/cli