Skip to content

Commit

Permalink
gh: updates from 2.33.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rsteube committed Aug 21, 2023
1 parent 7cf624e commit 132a9bf
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 9 deletions.
1 change: 1 addition & 0 deletions completers/gh_completer/cmd/alias_set.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ var alias_setCmd = &cobra.Command{
func init() {
carapace.Gen(alias_setCmd).Standalone()

alias_setCmd.Flags().Bool("clobber", false, "Overwrite existing aliases of the same name")
alias_setCmd.Flags().BoolP("shell", "s", false, "Declare an alias to be passed through a shell interpreter")
aliasCmd.AddCommand(alias_setCmd)

Expand Down
7 changes: 4 additions & 3 deletions completers/gh_completer/cmd/cache_list.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ import (
)

var cache_listCmd = &cobra.Command{
Use: "list",
Short: "List Github Actions caches",
Run: func(cmd *cobra.Command, args []string) {},
Use: "list",
Short: "List Github Actions caches",
Aliases: []string{"ls"},
Run: func(cmd *cobra.Command, args []string) {},
}

func init() {
Expand Down
1 change: 1 addition & 0 deletions completers/gh_completer/cmd/org_list.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ var org_listCmd = &cobra.Command{
Use: "list",
Short: "List organizations for the authenticated user.",
GroupID: "General commands",
Aliases: []string{"ls"},
Run: func(cmd *cobra.Command, args []string) {},
}

Expand Down
7 changes: 4 additions & 3 deletions completers/gh_completer/cmd/project_list.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ import (
)

var project_listCmd = &cobra.Command{
Use: "list",
Short: "List the projects for an owner",
Run: func(cmd *cobra.Command, args []string) {},
Use: "list",
Short: "List the projects for an owner",
Aliases: []string{"ls"},
Run: func(cmd *cobra.Command, args []string) {},
}

func init() {
Expand Down
7 changes: 4 additions & 3 deletions completers/gh_completer/cmd/ruleset_list.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ import (
)

var ruleset_listCmd = &cobra.Command{
Use: "list",
Short: "List rulesets for a repository or organization",
Run: func(cmd *cobra.Command, args []string) {},
Use: "list",
Short: "List rulesets for a repository or organization",
Aliases: []string{"ls"},
Run: func(cmd *cobra.Command, args []string) {},
}

func init() {
Expand Down

0 comments on commit 132a9bf

Please sign in to comment.