bold-brew/internal/models/brewfile.go
Vito Castellano c933f00d00
Some checks are pending
Quality / golangci-lint (push) Waiting to run
Quality / Build (push) Waiting to run
Quality / Build-1 (push) Waiting to run
Security / Go Vulnerability Check (push) Waiting to run
Security / Security Scanner (push) Waiting to run
feat(brewfile): add tap support with auto-installation and caching (#43)
Add support for parsing and installing taps from Brewfile entries. Taps are automatically installed at startup before updating Homebrew data. Tap package information is cached for faster subsequent startups. Also fixes thread safety issues with UI notifications in background goroutines and improves error handling for brew command execution.
2025-12-28 12:45:21 +01:00

13 lines
347 B
Go

package models
// BrewfileEntry represents a single entry from a Brewfile
type BrewfileEntry struct {
Name string
IsCask bool
}
// BrewfileResult contains all parsed entries from a Brewfile
type BrewfileResult struct {
Taps []string // List of taps to install
Packages []BrewfileEntry // List of packages (formulae and casks)
}