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 + const DefaultMergePollInterval + const DefaultMergeTimeout + func DisplayMergeStatus(out output.Output, result *shippable.AnalysisResult) + func NewDrainCmd() *cobra.Command + func NewMergeCmd(postMergeHandler PostMergeHandler) *cobra.Command + func NewMergeUI(out output.Output, logger output.Logger) (*tui.Runner, mergeAction.EventHandler) + func NewNextCmd(postMergeHandler PostMergeHandler) *cobra.Command + func NewShipCmd(postMergeHandler PostMergeHandler) *cobra.Command + func NewStatusCmd() *cobra.Command + type Group struct + Label string + StepIndices []int + func CalculateGroups(plan *mergeAction.Plan) []Group + type InteractiveMergeEventHandler struct + func NewInteractiveMergeEventHandler(runner *tui.Runner, model *mergeComponent.Model, out output.Output) *InteractiveMergeEventHandler + func (h *InteractiveMergeEventHandler) Cleanup() + func (h *InteractiveMergeEventHandler) Complete(result *mergeAction.Result) + func (h *InteractiveMergeEventHandler) EmitEvent(event mergeAction.Event) + func (h *InteractiveMergeEventHandler) IsInteractive() bool + func (h *InteractiveMergeEventHandler) Pause() + func (h *InteractiveMergeEventHandler) PromptConfirm(message string, defaultYes bool) (bool, error) + func (h *InteractiveMergeEventHandler) PromptMergeType(canMergeThisBranch bool, availableScopes []string, ...) (mergeAction.MergeType, error) + func (h *InteractiveMergeEventHandler) PromptPostMerge(hasUncommittedChanges bool, trunkName string) (mergeAction.PostMergeAction, error) + func (h *InteractiveMergeEventHandler) PromptScope(availableScopes []string) (string, error) + func (h *InteractiveMergeEventHandler) PromptSimpleMergeConfirm(branch mergeAction.BranchMergeInfo, baseBranch string) (bool, error) + func (h *InteractiveMergeEventHandler) PromptStacks(availableStacks []mergeAction.MultiStackInfo) ([]string, error) + func (h *InteractiveMergeEventHandler) PromptStrategy(plan *mergeAction.Plan, recommended mergeAction.Strategy) (mergeAction.StrategyChoice, error) + func (h *InteractiveMergeEventHandler) Resume() + func (h *InteractiveMergeEventHandler) ShowMidStackWarning(scope string, upstackBranchesInScope []string) + func (h *InteractiveMergeEventHandler) ShowPlan(plan *mergeAction.Plan, validation *mergeAction.PlanValidation) + func (h *InteractiveMergeEventHandler) Start(plan *mergeAction.Plan) + type Outcome int + const OutcomeAutomergeEnabled + const OutcomeMerged + type PostMergeHandler func(ctx *app.Context, action mergeAction.PostMergeAction) error + type SimpleMergeEventHandler struct + func NewSimpleMergeEventHandler(out output.Output) *SimpleMergeEventHandler + func (h *SimpleMergeEventHandler) Cleanup() + func (h *SimpleMergeEventHandler) Complete(result *mergeAction.Result) + func (h *SimpleMergeEventHandler) EmitEvent(event mergeAction.Event) + func (h *SimpleMergeEventHandler) Pause() + func (h *SimpleMergeEventHandler) Resume() + func (h *SimpleMergeEventHandler) Start(_ *mergeAction.Plan)