-
Notifications
You must be signed in to change notification settings - Fork 88
Open
Description
For my own brew stuff, I generate data files of my installed stuff via this shell function:
save_brew () {
brew leaves > ~/projects/dotfiles/brew_leaves.txt
brew cask list > ~/projects/dotfiles/brew_cask_list.txt
}
So I can just install stuff normally via brew and if I decide I want to keep it I can save_brew. I can install with:
brewify() {
cat "${DOTFILES}/brew_leaves.txt" | xargs brew install
}
I think you'll find maintaining this easier if you move toward keeping code/logic separated from pure data of installed inventory.
Random side note that I like your notion of using golang for a new version of this.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels