tools

package
v1.5.2-0...-4d0c20d Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckToolsStatus

func CheckToolsStatus() (map[string]bool, error)

CheckToolsStatus checks the status of all tools on macOS

func LoadAndPrepareAppData

func LoadAndPrepareAppData() (groups map[string][]string, builtInGroupNames []string, customGroupNames []string, installedApps []string, err error)

LoadAndPrepareAppData loads all application data and prepares it for rendering This function is copied from the install package to maintain consistency

func ValidateAndInstallTools

func ValidateAndInstallTools() error

ValidateAndInstallTools validates and installs required tools on macOS

Types

type Tool

type Tool struct {
	Name        string
	Command     string
	Required    bool
	InstallWith string
	Description string
}

Tool represents a macOS system tool

func GetRequiredTools

func GetRequiredTools() []Tool

GetRequiredTools returns the list of required tools for anvil on macOS Note: Homebrew is handled separately as a prerequisite in ValidateAndInstallTools()

func GetToolInfo

func GetToolInfo(toolName string) (*Tool, error)

GetToolInfo returns information about a specific tool

Jump to

Keyboard shortcuts

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