github.com/ianfoo/lab@v0.9.5-0.20180123060006-5ed79f2ccfc7/cmd/mergeRequest.go (about) 1 package cmd 2 3 import ( 4 "github.com/spf13/cobra" 5 ) 6 7 // mrCmd represents the mr command 8 var mergeRequestCmd = &cobra.Command{ 9 Use: "merge-request [remote]", 10 Short: mrCreateCmd.Short, 11 Long: mrCreateCmd.Long, 12 Args: mrCreateCmd.Args, 13 Run: runMRCreate, 14 } 15 16 func init() { 17 RootCmd.AddCommand(mergeRequestCmd) 18 }