push

package
v0.7.3 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2022 License: Apache-2.0 Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	scmhelpers.PullRequestOptions
	UserName          string
	UserEmail         string
	PullRequestBranch string

	Force          bool
	BatchMode      bool
	DisableGitInit bool
	// contains filtered or unexported fields
}

Options the options for the command

func NewCmdPullRequestPush

func NewCmdPullRequestPush() (*cobra.Command, *Options)

NewCmdPullRequestPush creates a command object for the command

func (*Options) GitClient

func (o *Options) GitClient() gitclient.Interface

func (*Options) InitGitConfigAndUser

func (o *Options) InitGitConfigAndUser() error

func (*Options) Run

func (o *Options) Run() error

Run implements the command

Jump to

Keyboard shortcuts

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