list

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2025 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FetchPullRequest

func FetchPullRequest(client *http.Client, repo bbrepo.Interface, prID int) (*shared.PullRequest, error)

FetchPullRequest fetches a single pull request by ID

func FetchPullRequestComments

func FetchPullRequestComments(client *http.Client, repo bbrepo.Interface, prID int) ([]shared.Comment, error)

FetchPullRequestComments fetches comments for a pull request

func NewCmdList

func NewCmdList(f *cmdutil.Factory, runF func(*ListOptions) error) *cobra.Command

Types

type ListOptions

type ListOptions struct {
	HttpClient func() (*http.Client, error)
	IO         *iostreams.IOStreams
	BaseRepo   func() (bbrepo.Interface, error)

	State  string
	Author string
	Limit  int
}

Jump to

Keyboard shortcuts

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