From f51e81fee4b6408f5b1798d23bbdaeafd385221a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Soszy=C5=84ski?= Date: Sun, 1 Nov 2020 03:17:21 +0100 Subject: [PATCH] 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 * Apply suggestions to "list bugs" example Co-authored-by: Axel Navarro * Apply suggetions to "list closed issues" Co-authored-by: Axel Navarro * Update pages/common/gh-issue.md Co-authored-by: Axel Navarro --- pages/common/gh-issue.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pages/common/gh-issue.md diff --git a/pages/common/gh-issue.md b/pages/common/gh-issue.md new file mode 100644 index 0000000000..df0388423f --- /dev/null +++ b/pages/common/gh-issue.md @@ -0,0 +1,28 @@ +# gh issue + +> Manage GitHub issues from the command line. +> More information: . + +- 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}}`