pullrequest

package
v0.0.199 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 2, 2021 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdCreatePullRequest

func NewCmdCreatePullRequest() *cobra.Command

NewCmdCreatePullRequest creates a command object for the "create" command

Types

type CreatePullRequestOptions

type CreatePullRequestOptions struct {
	scmhelpers.Options

	BatchMode bool
	Title     string
	Body      string
	Labels    []string
	Base      string
	Push      bool
	Fork      bool

	Input   input.Interface
	Results *scm.PullRequest
}

CreatePullRequestOptions the options for thecommand

func (*CreatePullRequestOptions) Run

Run implements the command

func (*CreatePullRequestOptions) Validate

func (o *CreatePullRequestOptions) Validate() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL