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 ¶
- func CleanBranches(ctx *app.Context) actions.CleanBranchesDeps
- func Continue(ctx *app.Context) actions.ContinueDeps
- func Here(ctx *app.Context) actions.Here
- func Mutation(ctx *app.Context) actions.MutationDeps
- func PRNavigation(ctx *app.Context) pr.NavigationOptions
- func PRSync(ctx *app.Context) actions.PRSync
- func Restack(ctx *app.Context) actions.RestackDeps
- func RestackRunner(ctx *app.Context) restack.Runner
- func Snapshots(ctx *app.Context) actions.Snapshots
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 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 Restack ¶
func Restack(ctx *app.Context) actions.RestackDeps
Restack builds the restack command pipeline's deps.
func RestackRunner ¶
RestackRunner builds a restack runner that prints per-branch results.
Types ¶
This section is empty.