Help us shape the future of Go! Take the 2026 Go Developer Survey

actiondeps

package
v0.30.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package actiondeps builds the collaborators each action takes from the CLI's runtime context. Actions never see *app.Context; adapters call these builders at the boundary.

Build deps after the context's GitHub client, runner and config are in place: the deps capture them.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanBranches

func CleanBranches(ctx *app.Context) actions.CleanBranchesDeps

CleanBranches builds branch cleanup's deps.

func Continue

func Continue(ctx *app.Context) actions.ContinueDeps

Continue builds stackit continue's deps.

func Here

func Here(ctx *app.Context) actions.Here

Here reads where the command runs.

func Mutation

func Mutation(ctx *app.Context) actions.MutationDeps

Mutation builds the collaborators every branch-rewriting action shares.

func PRNavigation

func PRNavigation(ctx *app.Context) pr.NavigationOptions

PRNavigation resolves the stack navigation settings from config, falling back to defaults when no config is loaded.

func PRSync

func PRSync(ctx *app.Context) actions.PRSync

PRSync builds the PR metadata syncer. The GitHub client stays lazy.

func Restack

func Restack(ctx *app.Context) actions.RestackDeps

Restack builds the restack command pipeline's deps.

func RestackRunner

func RestackRunner(ctx *app.Context) restack.Runner

RestackRunner builds a restack runner that prints per-branch results.

func Snapshots

func Snapshots(ctx *app.Context) actions.Snapshots

Snapshots builds the undo snapshot recorder, honoring undo.enabled.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL