X Tutup
Skip to content

Commit 9cbfe73

Browse files
committed
Have core commands have consistent Short description
1 parent 0f956c8 commit 9cbfe73

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

pkg/cmd/auth/auth.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,11 @@ import (
1414
func NewCmdAuth(f *cmdutil.Factory) *cobra.Command {
1515
cmd := &cobra.Command{
1616
Use: "auth <command>",
17-
Short: "Login, logout, and refresh your authentication",
17+
Short: "Authenticate gh with GitHub",
1818
Long: `Manage gh's authentication state.`,
19+
Annotations: map[string]string{
20+
"IsCore": "true",
21+
},
1922
}
2023

2124
cmdutil.DisableAuthCheck(cmd)

pkg/cmd/release/release.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515
func NewCmdRelease(f *cmdutil.Factory) *cobra.Command {
1616
cmd := &cobra.Command{
1717
Use: "release <command>",
18-
Short: "Manage GitHub releases",
18+
Short: "Manage releases",
1919
Annotations: map[string]string{
2020
"IsCore": "true",
2121
},

pkg/cmd/repo/repo.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import (
2222
func NewCmdRepo(f *cmdutil.Factory) *cobra.Command {
2323
cmd := &cobra.Command{
2424
Use: "repo <command>",
25-
Short: "Create, clone, fork, and view repositories",
25+
Short: "Manage repositories",
2626
Long: `Work with GitHub repositories.`,
2727
Example: heredoc.Doc(`
2828
$ gh repo create

0 commit comments

Comments
 (0)
X Tutup