Skip to content

Commit

Permalink
Merge pull request #1470 from rsteube/gh-extension-group
Browse files Browse the repository at this point in the history
gh: added extension command group
  • Loading branch information
rsteube authored Jan 8, 2023
2 parents 48635f4 + 34b7b0e commit 0ec047b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions completers/gh_completer/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ func init() {
rootCmd.AddGroup(
&cobra.Group{ID: "core", Title: "Core commands"},
&cobra.Group{ID: "actions", Title: "GitHub Actions commands"},
&cobra.Group{ID: "extension", Title: "Extension commands"},
)

rootCmd.PersistentFlags().Bool("help", false, "Show help for command")
Expand All @@ -42,6 +43,7 @@ func init() {
Use: extension,
Short: completers.Description("gh-" + extension),
Run: func(cmd *cobra.Command, args []string) {},
GroupID: "extension",
DisableFlagParsing: true,
}

Expand Down

0 comments on commit 0ec047b

Please sign in to comment.