dynamic

package
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: May 8, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

internal/dynamic/gather.go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GatherDynamic

func GatherDynamic(opts GatherOpts) *content.DynamicContext

GatherDynamic collects runtime context from the local environment. All sub-steps silently skip on error; the returned pointer is never nil.

Types

type GatherOpts

type GatherOpts struct {
	CWD            string
	CLIVersion     string
	Profile        *content.Profile
	Packs          []*content.Pack
	SyncStateDir   string
	Adapters       []adapter.Adapter
	Commands       []content.CommandInfo
	ProjectContext *project.ProjectContext // pre-detected; nil = auto-detect
}

GatherOpts holds all inputs needed to collect dynamic context at inject time.

Jump to

Keyboard shortcuts

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