pull_requests

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PRService

type PRService interface {
	SummarizePR(ctx context.Context, prNumber int, hint string, progress func(models.ProgressEvent)) (models.PRSummary, error)
}

PRService is a minimal interface for testing purposes

type PRServiceProvider

type PRServiceProvider func(ctx context.Context) (PRService, error)

PRServiceProvider is a function that returns a PRService on demand

type SummarizeCommand

type SummarizeCommand struct {
	// contains filtered or unexported fields
}

func NewSummarizeCommand

func NewSummarizeCommand(prProvider PRServiceProvider) *SummarizeCommand

func (*SummarizeCommand) CreateCommand

func (c *SummarizeCommand) CreateCommand(t *i18n.Translations, _ *cfg.Config) *cli.Command

Jump to

Keyboard shortcuts

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