move to use
This commit is contained in:
parent
4dff85d3c1
commit
c9d5935ee3
1 changed files with 2 additions and 3 deletions
|
|
@ -76,6 +76,7 @@ func (fe FlagError) Unwrap() error {
|
|||
|
||||
// RootCmd is the entry point of command-line execution
|
||||
var RootCmd = &cobra.Command{
|
||||
Use: "gh <command> <subcommand> [flags]",
|
||||
Short: "GitHub CLI",
|
||||
Long: `Work seamlessly with GitHub from the command line.`,
|
||||
|
||||
|
|
@ -246,9 +247,7 @@ func rootHelpFunc(command *cobra.Command, s []string) {
|
|||
{
|
||||
"",
|
||||
command.Long},
|
||||
{"USAGE", `
|
||||
# most gh commands need to be run in a directory containing a GitHub repository.
|
||||
gh <command> [subcommand] [flags]`},
|
||||
{"USAGE", command.UsageString()},
|
||||
{"CORE COMMANDS", strings.Join(coreCommands, "\n")},
|
||||
{"ADDITIONAL COMMANDS", strings.Join(additionalCommands, "\n")},
|
||||
{"EXAMPLES", `
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue