Versions in this module Expand all Collapse all v1 v1.23.14 Apr 4, 2026 v1.23.13 Mar 26, 2026 Changes in this version + func EnsureInstalled(ctx context.Context, tools ...ExternalTool) error + func ExecuteCommand(ctx context.Context, commandRunner exec.CommandRunner, cmd string, ...) (string, error) + func ExtractVersion(cliOutput string) (semver.Version, error) + func WithInstalledCheckCache(ctx context.Context) context.Context + type ErrSemver struct + ToolName string + VersionInfo VersionInfo + func (err *ErrSemver) Error() string + type ExecOptions struct + Interactive *bool + StdOut io.Writer + UserPwsh string + type ExternalTool interface + CheckInstalled func(ctx context.Context) error + InstallUrl func() string + Name func() string + func Unique(tools []ExternalTool) []ExternalTool + type MissingToolErrors struct + Errs []error + ToolNames []string + func (m *MissingToolErrors) Error() string + type Script interface + Execute func(ctx context.Context, scriptPath string, options ExecOptions) (exec.RunResult, error) + type VersionInfo struct + MinimumVersion semver.Version + UpdateCommand string