package pr import "github.com/spf13/cobra" func Command() *cobra.Command { pr := &cobra.Command{ Use: "pr", Short: "Interact with PRs", Run: func(cmd *cobra.Command, args []string) { cmd.Usage() }, } pr.AddCommand(&cobra.Command{ Use: "create", RunE: Create, }) return pr }