review

package
v0.2.13 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package review implements the pr review command

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdReview

func NewCmdReview(f *cmdutil.Factory, runF func(*ReviewOptions) error) *cobra.Command

NewCmdReview creates the review command

Types

type ReviewOptions

type ReviewOptions struct {
	IO         *iostreams.IOStreams
	HttpClient func() (*http.Client, error)

	// Arguments
	Repository string
	Number     int

	// Flags
	Approve bool
	Request bool
	Comment string
	Force   bool // Force approval (admin only)
}

Source Files

  • review.go

Jump to

Keyboard shortcuts

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