mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-05 13:05:59 +02:00
gh-issue: add page (#4836)
* Add gh issue page * Fix issues from bot * Are you happy now? * Add two more examples * git stash made a little mess * Apply *some* suggestions from code review Co-authored-by: Axel Navarro <navarroaxel@gmail.com> * Apply suggestions to "list bugs" example Co-authored-by: Axel Navarro <navarroaxel@gmail.com> * Apply suggetions to "list closed issues" Co-authored-by: Axel Navarro <navarroaxel@gmail.com> * Update pages/common/gh-issue.md Co-authored-by: Axel Navarro <navarroaxel@gmail.com>
This commit is contained in:
parent
377c9e57d6
commit
f51e81fee4
1 changed files with 28 additions and 0 deletions
28
pages/common/gh-issue.md
Normal file
28
pages/common/gh-issue.md
Normal file
|
@ -0,0 +1,28 @@
|
|||
# gh issue
|
||||
|
||||
> Manage GitHub issues from the command line.
|
||||
> More information: <https://cli.github.com/manual/gh_issue>.
|
||||
|
||||
- Print out the issue:
|
||||
|
||||
`gh issue view {{issue_number}}`
|
||||
|
||||
- Create a new issue in the web browser:
|
||||
|
||||
`gh issue create --web`
|
||||
|
||||
- List the last 10 issues with the `bug` label:
|
||||
|
||||
`gh issue list --limit {{10}} --label "{{bug}}"`
|
||||
|
||||
- List closed issues made by a specific user:
|
||||
|
||||
`gh issue list --state closed --author {{username}}`
|
||||
|
||||
- Display the status of issues relevant to the user, in a specific repository:
|
||||
|
||||
`gh issue status --repo {{owner}}/{{repository}}`
|
||||
|
||||
- Reopen an issue:
|
||||
|
||||
`gh issue reopen {{issue_number}}`
|
Loading…
Add table
Reference in a new issue