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