pr

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2020 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	environments.EnvironmentPullRequestOptions

	Dir              string
	ConfigFile       string
	Version          string
	VersionFile      string
	PullRequestTitle string
	PullRequestBody  string
	AutoMerge        bool
	Labels           []string

	UpdateConfig v1alpha1.UpdateConfig
}

Options the options for the command

func NewCmdPullRequest

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

NewCmdPullRequest creates a command object for the command

func (*Options) ApplyChanges

func (o *Options) ApplyChanges(dir string, change v1alpha1.Change) error

ApplyChanges applies the changes to the given dir

func (*Options) Run

func (o *Options) Run() error

Run implements the command

func (*Options) Validate

func (o *Options) Validate() error

Jump to

Keyboard shortcuts

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