Issues
List issues
When the cache is fresh, results are served from disk. Otherwise the GitHub API is used.
Filter by state
gh-cached issue list # open (default)
gh-cached issue list --state closed
gh-cached issue list --state all
Filter by author, assignee, or mention
gh-cached issue list --author alice
gh-cached issue list --assignee bob
gh-cached issue list --mention carol
Filter by label
Labels use AND logic. Repeat the flag to require all specified labels:
Filter by milestone
Accepts a milestone title (case-insensitive) or number:
Search
Case-insensitive substring match against title and body:
Limit results
When the total exceeds the limit, a summary is printed to stderr:
JSON output
Outputs a pretty-printed JSON array of issue objects.
Disable title truncation
By default, titles are truncated to 60 characters. Use --no-truncate to show full titles:
View a single issue
Show comments
Force refresh
Bypass the cache and fetch the latest data from GitHub, updating the cache:
JSON output
Example output
issue list
#42 Fix login bug bug, priority 5 2025-01-15
#41 Update README documentation 2 2025-01-14
#40 Very long title that will be truncat… enhancement 0 2025-01-13
issue view
#42 Fix login bug
OPEN • opened by octocat • 5 comment(s)
Labels: bug, priority
Assignees: alice
Milestone: v1.0
Created: 2025-01-10 14:30
URL: https://github.com/octocat/hello-world/issues/42
The login page crashes when...
── Comment 1 by reviewer1 (2025-01-12 09:15) ──
I can reproduce this on Firefox.