Documentation
¶
Index ¶
- type Builder
- func (b *Builder) CommitList() *Builder
- func (b *Builder) CreateRelease() *Builder
- func (b *Builder) CreatedPullRequests() *Builder
- func (b *Builder) Find() *Builder
- func (b *Builder) GetCommands() []*cli.Command
- func (b *Builder) PublishPullRequestMetrics() *Builder
- func (b *Builder) PullRequests() *Builder
- func (b *Builder) ReleaseReport() *Builder
- func (b *Builder) UserRepos() *Builder
- func (b *Builder) Widget() *Builder
- func (b *Builder) Workflows() *Builder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
Builder describes the builder of the cli commands.
func NewBuilder ¶
func NewBuilder(cfg config.Config, userReposService userReposService, pullRequestsService pullRequestsService, repositoryService repositoryService, workflowService workflowService, tablePrinter tablePrinter, utils utilities) *Builder
NewBuilder creates and returns a new command builder.
func (*Builder) CommitList ¶
CommitList is used to retrieve and print a list of all the commits between 2 tags or commits.
func (*Builder) CreateRelease ¶
CreateRelease is used to create a new release tag using the provided tag value and also define the description of the new release.
func (*Builder) CreatedPullRequests ¶
CreatedPullRequests retrieves the number pull requests in a repo that have been created during a specific time period.
func (*Builder) Find ¶
Find retrieves the repositories a user has access to and then allows the user to select multiple repos to retrieve the pull requests that are open against the selected repositories.
func (*Builder) GetCommands ¶
GetCommands returns the list of allowed commands.
func (*Builder) PublishPullRequestMetrics ¶
PublishPullRequestMetrics retrieves the metrics for pull requests and publishes them to google spreadsheets.
func (*Builder) PullRequests ¶
PullRequests retrieves the pull requests that the authenticated user has in a specific repo.
func (*Builder) ReleaseReport ¶
ReleaseReport is used to fetch the releases for a desired period and based on the provided pattern to prepare reports.
func (*Builder) UserRepos ¶
UserRepos retrieves the repositories that the authenticated used has access to.