prereqs

package
v0.32.0 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllPassed

func AllPassed(results []Result) bool

AllPassed returns true if every tool was found.

func MissingList

func MissingList(results []Result) []string

MissingList returns error strings for all missing tools.

func Summary

func Summary(results []Result) string

Summary formats the version string for display.

Types

type Result

type Result struct {
	Name    string
	Found   bool
	Version string
	Error   error
}

Result represents the check result for a single tool.

func Check

func Check() []Result

Check verifies all required tools are present on PATH.

Jump to

Keyboard shortcuts

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