label

package
v0.2.70 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2021 License: Apache-2.0 Imports: 15 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 {
	options.BaseOptions
	scmhelpers.PullRequestOptions

	Label      string
	Regex      string
	Result     *scm.PullRequest
	LabelAdded bool
	// contains filtered or unexported fields
}

Options the options for the command

func NewCmdPullRequestLabel

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

NewCmdPullRequestLabel creates a command object for the command

func (*Options) Run

func (o *Options) Run() error

Run implements the command

func (*Options) Validate

func (o *Options) Validate() error

Validate validates the command line options

Jump to

Keyboard shortcuts

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