deps

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrintResults

func PrintResults(results []CheckResult, editorResult *CheckResult)

PrintResults prints dependency check results

Types

type CheckResult

type CheckResult struct {
	Dependency Dependency
	Available  bool
	Version    string
	Error      error
}

func CheckAllDependencies

func CheckAllDependencies() []CheckResult

CheckAllDependencies checks all dependencies and returns results

func CheckConfiguredEditor

func CheckConfiguredEditor() *CheckResult

CheckConfiguredEditor checks if the configured editor is available

func CheckDependency

func CheckDependency(dep Dependency) CheckResult

CheckDependency checks if a single dependency is available

type Dependency

type Dependency struct {
	Name        string
	Command     string
	Required    bool
	Description string
	InstallHint string
}

func GetDependencies

func GetDependencies() []Dependency

GetDependencies returns the list of dependencies to check

Jump to

Keyboard shortcuts

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