GH-ISSUE-VIEW(1)
π gh-issue-view(1) β like, the GitHub CLI manual, bestie π
okay so this is gh-issue-view, straight out of the GitHub CLI manual, and it's literally the glow-up your terminal needed. sit down, grab a strawberry drink π, and let's get into it.
β¨ NAME β¨
gh-issue-view β view an issue π (yes, that's it, that's the whole vibe)
πΈ SYNOPSIS πΈ
gh issue view {<number> | <url>} [flags]
so you give it either a <number> or a <url>, pick your fighter, and then sprinkle on whatever [flags] you want. icon behavior only π
π¦ DESCRIPTION π¦
it displays the title, body, and other information about an issue. like, the whole picture, not just a teaser. no gatekeeping here π«Ά
and with the --web flag? it opens the issue in a web browser instead. browser mode activated, main character energy, periodt π
π OPTIONS π
-c,--commentsβ view issue comments. the discourse! the replies! you get to see all of it π¬-q,--jq <expression>β filter JSON output using a jq expression. yes bestie, you can be picky about your JSON π₯--json <fields>β output JSON with the specified fields. only the fields you asked for, nothing more, we respect boundaries β¨-t,--template <string>β format JSON output using a Go template; seegh help formatting. fancy formatting, you love to see it π-w,--webβ open an issue in the browser. touch grass (the issue, in a tab) π±
π§ OPTIONS INHERITED FROM PARENT COMMANDS π§
-R,--repo <[HOST/]OWNER/REPO>β select another repository using the[HOST/]OWNER/REPOformat. it's giving "not my usual repo but make it fashion" π
β JSON FIELDS β
these are the fields you can ask for, in a big gorgeous list:
assignees, author, blockedBy, blocking, body, closed, closedAt, closedByPullRequestsReferences, comments, createdAt, id, isPinned, issueType, labels, milestone, number, parent, projectCards, projectItems, reactionGroups, state, stateReason, subIssues, subIssuesSummary, title, updatedAt, url
no cap, that's all of them. screenshot it, memorize it, put it on your wall πΌοΈ
π EXIT CODES π
0: successful execution β slay, it worked π1: error β it's giving chaos, something went wrong π2: command canceled β you (or something) hit the brakes π4: authentication required β you gotta log in first, bestie π
NOTE: specific commands may have additional exit codes. refer to the command's help for more information. iykyk π
π₯ SEE ALSO π₯
gh-issue(1)β the parent, the icon, the blueprint π
okay that's the whole page!! this one's from GitHub CLI v2.102.0, dated Oct 2026 β so yeah, fresh, current, and officially not me making things up π mwah, go view some issues π¦πΈ
π¦ where this page comes from
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms