 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdMerge ¶
Types ¶
type EnablePullRequestAutoMergeInput ¶ added in v1.6.0
type EnablePullRequestAutoMergeInput struct {
	githubv4.MergePullRequestInput
}
    TODO: drop after githubv4 gets updated
type MergeOptions ¶
type MergeOptions struct {
	HttpClient func() (*http.Client, error)
	Config     func() (config.Config, error)
	IO         *iostreams.IOStreams
	BaseRepo   func() (ghrepo.Interface, error)
	Remotes    func() (context.Remotes, error)
	Branch     func() (string, error)
	SelectorArg  string
	DeleteBranch bool
	MergeMethod  PullRequestMergeMethod
	AutoMergeEnable  bool
	AutoMergeDisable bool
	Body    string
	BodySet bool
	Editor  editor
	IsDeleteBranchIndicated bool
	CanDeleteLocalBranch    bool
	InteractiveMode         bool
}
    type PullRequestMergeMethod ¶ added in v1.6.0
type PullRequestMergeMethod int
const ( PullRequestMergeMethodMerge PullRequestMergeMethod = iota PullRequestMergeMethodRebase PullRequestMergeMethodSquash )
 Click to show internal directories. 
   Click to hide internal directories.