like a brew upgrade for cask
curl -O https://raw.githubusercontent.com/imasami/brew-cask-upgrade-all/v1.3.0/brew-cask-upgrade-all.rb
- macOS
- ruby
$ ./brew-cask-upgrade-all.rb -h
usage:
update brew and brew casks.
-h , --help : this help message.
-f , --force : force upgrade that newest version is "latest".
-d , --dry-run : dry run but execute brew update, brew cleanup.
-c , --count : count updatable casks.
# stdout log
brew update:
Already up-to-date.
brew cleanup:
brew cask upgrade:
hosts
latest : 1.3
current : 1.3
iterm2
latest : 3.0.8
current : 3.0.7
iterm2 updating..
==> Removing App: '/Applications/iTerm.app'
==> Satisfying dependencies
complete
==> Downloading https://iterm2.com/downloads/stable/iTerm2-3_0_8.zip
==> Verifying checksum for Cask iterm2
==> Moving App 'iTerm.app' to '/Applications/iTerm.app'
🍺 iterm2 was successfully installed!
iterm2 updated !!!
java
latest : 1.8.0_102-b14
current : 1.8.0_102-b14
...
( something upgrade casks , also need your su password. )
...
brew cleanup:
brew cask cleanup:
==> Removing cached downloads
Nothing to do
all of done.
nop, DIY.
Fork the project, create a new branch, make your changes, and open a pull request.
- framework
- nop