Have core commands have consistent Short description
This commit is contained in:
parent
0f956c8502
commit
9cbfe73140
3 changed files with 6 additions and 3 deletions
|
|
@ -14,8 +14,11 @@ import (
|
|||
func NewCmdAuth(f *cmdutil.Factory) *cobra.Command {
|
||||
cmd := &cobra.Command{
|
||||
Use: "auth <command>",
|
||||
Short: "Login, logout, and refresh your authentication",
|
||||
Short: "Authenticate gh with GitHub",
|
||||
Long: `Manage gh's authentication state.`,
|
||||
Annotations: map[string]string{
|
||||
"IsCore": "true",
|
||||
},
|
||||
}
|
||||
|
||||
cmdutil.DisableAuthCheck(cmd)
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ import (
|
|||
func NewCmdRelease(f *cmdutil.Factory) *cobra.Command {
|
||||
cmd := &cobra.Command{
|
||||
Use: "release <command>",
|
||||
Short: "Manage GitHub releases",
|
||||
Short: "Manage releases",
|
||||
Annotations: map[string]string{
|
||||
"IsCore": "true",
|
||||
},
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ import (
|
|||
func NewCmdRepo(f *cmdutil.Factory) *cobra.Command {
|
||||
cmd := &cobra.Command{
|
||||
Use: "repo <command>",
|
||||
Short: "Create, clone, fork, and view repositories",
|
||||
Short: "Manage repositories",
|
||||
Long: `Work with GitHub repositories.`,
|
||||
Example: heredoc.Doc(`
|
||||
$ gh repo create
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue