mirror of
https://github.com/Valkyrie00/bold-brew.git
synced 2026-03-14 14:25:53 +01:00
* feat: add Brewfile mode for curated package collections This commit introduces Brewfile mode, allowing users to launch bbrew with a curated list of packages using the -f flag. When a Brewfile is provided, the application displays only those packages, enabling themed collections like IDE choosers or developer tool sets. The implementation includes a Brewfile parser for brew and cask entries, automatic filtering of the package catalog, and a refactored API with the IsBrewfileMode() method for cleaner code. Critical bugs were fixed including a synchronization issue between the displayed table and the filtered packages array that caused incorrect package selection. This feature is designed for Project Bluefin integration, providing curated package experiences where users can browse predefined collections. Includes example Brewfiles and comprehensive documentation. * feat: add Install All functionality for Brewfile mode Add ctrl+a keybinding to install all packages from a Brewfile at once, available exclusively in Brewfile mode. * feat: add Remove All for Brewfile mode Add ctrl+r keybinding to batch remove all installed packages from Brewfile with real-time progress counter. Validates packages are installed before proceeding and skips non-installed packages. Available only in Brewfile mode
23 lines
415 B
Text
23 lines
415 B
Text
# Test Brewfile for bbrew
|
|
# A simple example to test Brewfile mode functionality
|
|
# Usage: bbrew -f test.brewfile
|
|
|
|
# Command-line utilities (lightweight and common)
|
|
brew "wget"
|
|
brew "curl"
|
|
brew "tree"
|
|
brew "htop"
|
|
brew "jq"
|
|
|
|
# Development tools
|
|
brew "git"
|
|
brew "node"
|
|
|
|
# Popular editors and IDEs
|
|
cask "visual-studio-code"
|
|
cask "sublime-text"
|
|
|
|
# Alternative browsers (for testing)
|
|
cask "firefox"
|
|
cask "brave-browser"
|
|
|