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 ¶
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
Click to show internal directories.
Click to hide internal directories.