tasks

package
v4.8.1 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClosePR

func ClosePR(ctx *context.ProgramContext, section SectionIdentifer, pr data.RowData) tea.Cmd

func CreatePR added in v4.6.0

func CreatePR(ctx *context.ProgramContext, section SectionIdentifer, branchName string, title string) tea.Cmd

func MergePR

func MergePR(ctx *context.ProgramContext, section SectionIdentifer, pr data.RowData) tea.Cmd

func OpenBranchPR added in v4.6.0

func OpenBranchPR(ctx *context.ProgramContext, section SectionIdentifer, branch string) tea.Cmd

func PRReady

func PRReady(ctx *context.ProgramContext, section SectionIdentifer, pr data.RowData) tea.Cmd

func ReopenPR

func ReopenPR(ctx *context.ProgramContext, section SectionIdentifer, pr data.RowData) tea.Cmd

func UpdatePR added in v4.7.0

func UpdatePR(ctx *context.ProgramContext, section SectionIdentifer, pr data.RowData) tea.Cmd

Types

type GitHubTask

type GitHubTask struct {
	Id           string
	Args         []string
	Section      SectionIdentifer
	StartText    string
	FinishedText string
	Msg          func(c *exec.Cmd, err error) tea.Msg
}

type SectionIdentifer

type SectionIdentifer struct {
	Id   int
	Type string
}

type UpdateBranchMsg added in v4.6.0

type UpdateBranchMsg struct {
	Name      string
	IsCreated *bool
	NewPr     *data.PullRequestData
}

type UpdatePRMsg

type UpdatePRMsg struct {
	PrNumber         int
	IsClosed         *bool
	NewComment       *data.Comment
	ReadyForReview   *bool
	IsMerged         *bool
	AddedAssignees   *data.Assignees
	RemovedAssignees *data.Assignees
}

Jump to

Keyboard shortcuts

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