Versions in this module Expand all Collapse all v0 v0.17.15 May 11, 2026 v0.17.14 May 11, 2026 Changes in this version + func Action(ctx *app.Context, opts Options, handler Handler) error + func GetPRBody(branch engine.Branch, editInline bool, existingBody string) (string, error) + func GetPRTitle(branch engine.Branch, editInline bool, existingTitle string, ...) (string, error) + func GetReviewers(reviewersFlag string) ([]string, []string, error) + func GetReviewersWithPrompt(reviewersFlag string) ([]string, []string, error) + func HasSubmitWork(ctx *app.Context, opts Options) (bool, error) + func ValidateBranchesToSubmit(ctx *app.Context, branches []string) error + type BranchInfo struct + Action string + Name string + PRNumber *int + type BranchPlanEvent struct + Action string + BranchName string + IsCurrent bool + SkipReason string + Skipped bool + type BranchProgressEvent struct + BranchName string + Error error + Status BranchStatus + URL string + type BranchStatus string + const StatusDone + const StatusError + const StatusPending + const StatusSkipped + const StatusSubmitting + const StatusSyncing + type ChannelHandler struct + func NewChannelHandler(bufferSize int) *ChannelHandler + func (h *ChannelHandler) Close() + func (h *ChannelHandler) Confirm(_ string, defaultYes bool) (bool, error) + func (h *ChannelHandler) Events() <-chan Event + func (h *ChannelHandler) IsInteractive() bool + func (h *ChannelHandler) OnEvent(e Event) + type CompletionEvent struct + Message string + Success bool + type Event interface + type Handler interface + Confirm func(message string, defaultYes bool) (bool, error) + IsInteractive func() bool + OnEvent func(event Event) + type Info struct + Action string + Base string + BaseSHA string + BranchName string + Head string + HeadSHA string + Metadata *PRMetadata + PRNumber *int + type MetadataOptions struct + ConfigAssignees []string + ConfigDraft bool + ConfigLabels []string + ConfigReviewers []string + Draft bool + Edit bool + EditDescription bool + EditTitle bool + NoEdit bool + NoEditDescription bool + NoEditTitle bool + Publish bool + Reviewers string + ReviewersPrompt bool + type Options struct + Always bool + Branch string + Comment string + ConfigAssignees []string + ConfigDraft bool + ConfigLabels []string + ConfigReviewers []string + ConfigWeb string + Confirm bool + Draft bool + DryRun bool + Edit bool + EditDescription bool + EditTitle bool + Force bool + IgnoreOutOfSyncTrunk bool + MergeWhenReady bool + NoAssignees bool + NoEdit bool + NoEditDescription bool + NoEditTitle bool + NoLabels bool + Publish bool + RerequestReview bool + Restack bool + Reviewers string + StackRange engine.StackRange + SubmitFooter bool + TargetTrunk string + TeamReviewers string + UpdateOnly bool + View bool + Web bool + type PRMetadata struct + Assignees []string + Body string + IsDraft bool + Labels []string + Reviewers []string + TeamReviewers []string + Title string + func PreparePRMetadata(branch engine.Branch, opts MetadataOptions, ctx *app.Context) (*PRMetadata, error) + type PreparingEvent struct + type RestackEvent struct + Completed bool + Started bool + type StackDisplayEvent struct + FixedMap map[string]bool + ScopeMap map[string]string + Stack *tree.StackTree + WorktreeMap map[string]string + type SubmissionStartEvent struct + Branches []BranchInfo + IsSequential bool