Skip to content

Commit

Permalink
fix: Rename as documented
Browse files Browse the repository at this point in the history
  • Loading branch information
NoUseFreak committed Jan 1, 2024
1 parent a3cba79 commit 57d615b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions internal/pkg/command/org.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ import (

var cloneForks bool

func getRepoCmd() *cobra.Command {
func getOrgCmd() *cobra.Command {
cmd := &cobra.Command{
Use: "repo",
Short: "repo",
Use: "org",
Short: "org",
Args: cobra.ExactArgs(1),
Run: func(cmd *cobra.Command, args []string) {
parts := strings.Split(args[0], "/")
Expand Down
2 changes: 1 addition & 1 deletion internal/pkg/command/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func Execute() {
rootCmd.AddCommand(getSetupCmd())
rootCmd.AddCommand(getUpdateCmd())
rootCmd.AddCommand(getVersionCmd())
rootCmd.AddCommand(getRepoCmd())
rootCmd.AddCommand(getOrgCmd())
rootCmd.AddCommand(getWDIDCmd())

cobra.OnInitialize(config.InitConfig)
Expand Down

0 comments on commit 57d615b

Please sign in to comment.