Merge pull request #10389 from iamazeem/1807-gh-pr-status-mention-gh-pr-checks
[gh pr status] Mention `gh pr checks` in the `Long` section
This commit is contained in:
commit
c43f817421
1 changed files with 10 additions and 1 deletions
|
|
@ -9,6 +9,7 @@ import (
|
|||
"strconv"
|
||||
"time"
|
||||
|
||||
"github.com/MakeNowJust/heredoc"
|
||||
"github.com/cli/cli/v2/api"
|
||||
ghContext "github.com/cli/cli/v2/context"
|
||||
"github.com/cli/cli/v2/git"
|
||||
|
|
@ -51,7 +52,15 @@ func NewCmdStatus(f *cmdutil.Factory, runF func(*StatusOptions) error) *cobra.Co
|
|||
cmd := &cobra.Command{
|
||||
Use: "status",
|
||||
Short: "Show status of relevant pull requests",
|
||||
Args: cmdutil.NoArgsQuoteReminder,
|
||||
Long: heredoc.Docf(`
|
||||
Show status of relevant pull requests.
|
||||
|
||||
The status shows a summary of pull requests that includes information such as
|
||||
pull request number, title, CI checks, reviews, etc.
|
||||
|
||||
To see more details of CI checks, run %[1]sgh pr checks%[1]s.
|
||||
`, "`"),
|
||||
Args: cmdutil.NoArgsQuoteReminder,
|
||||
RunE: func(cmd *cobra.Command, args []string) error {
|
||||
// support `-R, --repo` override
|
||||
opts.BaseRepo = f.BaseRepo
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue