gitlab.com/lab-cli/lab@v0.14.0/cmd/merge_request.go (about)

     1  package cmd
     2  
     3  import (
     4  	"github.com/spf13/cobra"
     5  )
     6  
     7  var mergeRequestCmd = &cobra.Command{
     8  	Use:   "merge-request [remote [branch]]",
     9  	Short: mrCreateCmd.Short,
    10  	Long:  mrCreateCmd.Long,
    11  	Args:  mrCreateCmd.Args,
    12  	Run: func(cmd *cobra.Command, args []string) {
    13  		runMRCreate(cmd, args)
    14  	},
    15  }
    16  
    17  func init() {
    18  	RootCmd.AddCommand(mergeRequestCmd)
    19  }