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 ReasonFrozen + const ReasonLocked + const ReasonNoRestackNeeded + func Checkout(ctx *app.Context, opts actions.CheckoutOptions, ...) (actions.CheckoutResult, error) + func CompleteBranches(cmd *cobra.Command, _ []string, _ string) ([]string, cobra.ShellCompDirective) + func CompleteCheckout(ctx *app.Context, result actions.CheckoutResult, ...) error + func FormatBranchSummary(out output.Output, results []BranchResult) (success, fail int) + func FormatPRInfo(prNumber *int) string + func GetGlobalOptions(cmd *cobra.Command) app.GlobalOptions + func HandleCheckoutResult(out output.Output, result actions.CheckoutResult) bool + func HandleCommandError(err error) error + func HasShellIntegration() bool + func ReadMessage(message, messageFile string) (string, error) + func ResolveBranchArg(ctx *app.Context, args []string, missingErr error) (string, error) + func Run(cmd *cobra.Command, fn func(ctx *app.Context) error) error + type BaseHandler struct + Output output.Output + func NewBaseHandler(out output.Output) BaseHandler + func (h *BaseHandler) Cleanup() + func (h *BaseHandler) IsInteractive() bool + func (h *BaseHandler) Lock() + func (h *BaseHandler) Unlock() + type BranchResult struct + BranchName string + Error error + IsCurrent bool + Output string + Status BranchResultStatus + type BranchResultStatus int + const StatusDone + const StatusError