buo / homebrew-cask-upgrade

A command line tool for upgrading every outdated app installed by Homebrew Cask
MIT License
2.44k stars 90 forks source link

Implement single cask upgrade feature #32

Closed davepgreene closed 7 years ago

davepgreene commented 7 years ago

This PR implements the ability to upgrade a single, named cask using the --cask flag. It respects the --dry-run flag and will tell you if the the cask you target is outdated or up to date.

My aim in this feature was to ease a pain point I have whenever JetBrains updates their IDEs. The downloads can be rather large and sometimes I only need to update one of them.

This PR also adds some nice stdout formatting from Homebrew's utils.rb.

buo commented 7 years ago

Thank you for your contribution. How about just brew cu [CASK] without the --cask flag? I think it would be nicer.

davepgreene commented 7 years ago

Sure. I'll open a new PR when it's done.