Subcommands (1)
Options (8)
-w, --webbooleanDisplay a specific issue in the default web browser
Example:
gh issue view {{issue_number}} {{[-w|--web]}}booleanCreate a new issue in the default web browser
Example:
gh issue {{[new|create]}} {{[-w|--web]}}booleanList the last 10 issues with the `bug` label
Example:
gh issue {{[ls|list]}} {{[-L|--limit]}} 10 {{[-l|--label]}} "bug"-L, --limitbooleanList the last 10 issues with the `bug` label
Example:
gh issue {{[ls|list]}} {{[-L|--limit]}} 10 {{[-l|--label]}} "bug"-l, --labelbooleanList the last 10 issues with the `bug` label
Example:
gh issue {{[ls|list]}} {{[-L|--limit]}} 10 {{[-l|--label]}} "bug"-s, --statebooleanList closed issues made by a specific user
Example:
gh issue {{[ls|list]}} {{[-s|--state]}} closed {{[-A|--author]}} {{username}}-A, --authorbooleanList closed issues made by a specific user
Example:
gh issue {{[ls|list]}} {{[-s|--state]}} closed {{[-A|--author]}} {{username}}-R, --repobooleanDisplay the status of issues relevant to the user, in a specific repository
Example:
gh issue status {{[-R|--repo]}} {{owner}}/{{repository}}Examples (7)
Create a new issue in the default web browser
gh issue [new|create] [-w|--web]List the last 10 issues with the `bug` label
gh issue [ls|list] [-L|--limit] 10 [-l|--label] "bug"List closed issues made by a specific user
gh issue [ls|list] [-s|--state] closed [-A|--author] usernameDisplay the status of issues relevant to the user, in a specific repository
gh issue status [-R|--repo] owner/repositoryReopen a specific issue
gh issue reopen issue_numbermade by @shridhargupta | data from tldr-pages