Versions in this module Expand all Collapse all v0 v0.4.1 Nov 3, 2026 v0.4.0 Sep 5, 2026 Changes in this version + const NotInStackCode + func Add(ctx context.Context, branch string, options AddOptions) error + func CurrentBranch(ctx context.Context) (string, error) + func Edit(ctx context.Context, branch string, options EditOptions) error + func ExitCode(err error) int + func Gh(ctx context.Context, args ...string) error + func Git(ctx context.Context, args ...string) error + func GitOutput(ctx context.Context, args ...string) (string, error) + func InStack(ctx context.Context) (bool, error) + func Save(ctx context.Context, options SaveOptions) error + func Ship(ctx context.Context, options ShipOptions) error + func Stack(ctx context.Context, args ...string) error + func WithGhPath(parent context.Context, path string) context.Context + func WithGitPath(parent context.Context, path string) context.Context + type AddOptions struct + Base string + type CommitOptions struct + All bool + Message string + Update bool + func (o CommitOptions) AddArgs(branch string) (args []string) + func (o CommitOptions) Commit(ctx context.Context) error + type EditOptions struct + NoPush bool + type RemoteOptions struct + Remote string + func (o RemoteOptions) Args(args ...string) []string + type SaveOptions struct + NoPush bool + type ShipOptions struct + NoSync bool + Open bool + Prune bool