setup

package
v0.0.0-...-cb3f5c8 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Checker

type Checker struct {
	// contains filtered or unexported fields
}

Checker validates that required dependencies are present

func NewChecker

func NewChecker() *Checker

NewChecker constructs a dependency checker with default requirements

func (*Checker) CheckAll

func (c *Checker) CheckAll() ([]Dependency, error)

CheckAll returns the dependencies that are currently missing

func (*Checker) RunWizard

func (c *Checker) RunWizard(missing []Dependency) error

RunWizard guides the user through installing missing dependencies

type Dependency

type Dependency struct {
	Name        string
	Type        string
	CheckFunc   func() bool
	InstallFunc func() error
	Prompt      string
	DocsLink    string
}

Dependency represents a setup prerequisite

Jump to

Keyboard shortcuts

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