Skip to content

DriftwoodJP/bcupgrade

Repository files navigation

license: MIT Gem Version Build Status Dependency Status Maintainability Test Coverage

Bcupgrade - brew cask upgrade

Awesome brew cask upgrade command.

Requirement

Installation

% gem install bcupgrade

Usage

bcupgrade with no arguments to check & upgrade all casks.

  • Displays confirmation prompts [y/n].
  • Install latest version. (brew cask reinstall #{cask})
% bcupgrade

==> Outdated cask...
omnioutliner (4.6.1) != 5.2
scrivener (2.81.2,106) != 3.0.1,966

Not upgrading pinned package:
["iterm2", "omniplan1", "omnioutliner", "sketch"]

Upgrade scrivener? [y/n] yes

==> Upgrade scrivener
==> Satisfying dependencies
==> Downloading https://scrivener.s3.amazonaws.com/mac_updates/Scrivener_1012_966.zip
######################################################################## 100.0%
==> Verifying checksum for Cask scrivener
==> Uninstalling Cask scrivener
==> Moving App 'Scrivener.app' back to '/usr/local/Caskroom/scrivener/2.81.2,106/Scrivener.app'.
==> Purging files for version 2.81.2,106 of Cask scrivener
==> Installing Cask scrivener
==> Moving App 'Scrivener.app' to '/Applications/Scrivener.app'.
🍺  scrivener was successfully installed!

bcupgrade with arguments to check & upgrade selected casks.

% bcupgrade dropbox firefox

Options

% bcupgrade --help
Usage: bcupgrade [options] [cask1 cask2...]
    -d, --dry-run                    Check outdated cask without upgrading
    -y, --yes                        Automatic yes to prompts
    -v, --version                    Show version number

Configuration File

If you want to ignore upgrade casks, you can add settings in the user's ~/.bcupgrade (YAML syntax).

ignore:
  - iterm2
  - omniplan1
  - omnioutliner
  - sketch

To stop from being upgraded: like brew cask pin

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/DriftwoodJP/bcupgrade. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.

About

Awesome brew cask upgrade command.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published