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.
Click to show internal directories.
Click to hide internal directories.