github.com/nkprince007/lab@v0.6.2-0.20171218071646-19d68b56f403/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",
    10  	Short: "Open a merge request on GitLab",
    11  	Long:  `Currently only supports MRs into master`,
    12  	Args:  cobra.ExactArgs(0),
    13  	Run:   runMRCreate,
    14  }
    15  
    16  func init() {
    17  	RootCmd.AddCommand(mergeRequestCmd)
    18  }