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 + type Handler interface + Cleanup func() + Complete func(deleted, skipped int) + IsInteractive func() bool + OnBranch func(name string, status Status, prNumber *int) + OnRestack func(childCount int) + PromptConfirm func(branch string, reason string) (bool, error) + Start func(branchCount int) + type NullHandler struct + func (h *NullHandler) Complete(int, int) + func (h *NullHandler) OnBranch(string, Status, *int) + func (h *NullHandler) OnRestack(int) + func (h *NullHandler) PromptConfirm(string, string) (bool, error) + func (h *NullHandler) Start(int) + type Options struct + BranchName string + Downstack bool + Force bool + Upstack bool + type Result struct + MainRepoDirForSwitch string + func Action(ctx *app.Context, opts Options, handler Handler) (Result, error) + type Status string + const StatusDeleted + const StatusRestacked + const StatusSkipped