sync

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2024 License: BSD-3-Clause Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() *cobra.Command

func NewLabels

func NewLabels() *cobra.Command

func NewReviewers

func NewReviewers() *cobra.Command

Types

type Labels

type Labels struct {
	LabelsDir string `long:"labels-dir" usage:"Path to the labels definition directory." default:".github/labels"`
}

func (*Labels) Run

func (opts *Labels) Run(ctx context.Context, args []string) error

type Reviewers

type Reviewers struct {
	NumMaintainers int `long:"num-maintainers" short:"A" usage:"Number of maintainers for the PR" default:"1"`
	NumReviewers   int `long:"num-reviewers" short:"R" usage:"Number of reviewers for the PR" default:"1"`
	// contains filtered or unexported fields
}

func (*Reviewers) Run

func (opts *Reviewers) Run(ctx context.Context, args []string) error

type Sync

type Sync struct{}

func (*Sync) Run

func (*Sync) Run(_ context.Context, _ []string) error

Jump to

Keyboard shortcuts

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