close

package
v0.2.47 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2024 License: Apache-2.0 Imports: 12 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 {
	scmclient.Options

	Owner string
	Name  string

	PR     int
	Before int
	Size   int

	Head string
	Base string

	ScmClient *scm.Client
}

LabelOptions the options for the command

func NewCmdClosePullRequest

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

NewCmdClosePullRequest closes a pull request

func (*Options) Run

func (o *Options) Run() error

Run transforms the YAML files

func (*Options) Validate

func (o *Options) Validate() (*scm.Client, error)

Validate validates the options and returns the ScmClient

Jump to

Keyboard shortcuts

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