Homebrew / homebrew-bundle

📦 Bundler for non-Ruby dependencies from Homebrew, Homebrew Cask and the Mac App Store.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

brew bundle dump not respecting --brews/--casks args

zhengpd opened this issue · comments

Is there any argument to brew bundle dump with only brews and casks? --brews/--casks only works in brew bundle list but not dumping.

not as of today. brew bundle dump will dump all resources without consideration for the type they are.

@jacobbednarz Thanks for reply. I ended up using alias:

alias brew-dump="brew bundle dump -f --file=- | sed '/mas .*/d' > ~/.config/homebrew/Brewfile"