16 Commits

Author SHA1 Message Date
Markus Reiter
ef67b77d95 Make Cask commands fail early if a Cask is not found. 2017-09-11 09:04:51 +02:00
Markus Reiter
9c8f7138f3 Add casks method to iterate through arguments. 2017-06-13 19:45:29 +02:00
Markus Reiter
66ce575301 🔨 Refactor Cask exceptions. 2017-06-13 17:14:28 +02:00
Markus Reiter
df1864ee43 Add CLI::Options DSL. 2017-05-22 02:51:17 +02:00
Markus Reiter
33580c283a Refactor CLI::Install. 2017-05-22 02:51:16 +02:00
Markus Reiter
9e821863d0 Pass along CLI::Binaries. 2017-05-22 02:51:16 +02:00
Joshua McKinney
a90d1e1699 Installer#reinstall instead of #install :reinstall
Call an explicit method on Installer to reinstall rather than using a
flag to indicate when we're reinstalling a cask
2017-03-27 01:32:53 -05:00
Joshua McKinney
367fdb9718 Refactor brew cask reinstall
The implementation of the reinstall command was the same as
Installer#install, aside from the uninstall of the existing cask.
Moved this within the class to DRY up the implementation.
2017-03-19 13:14:16 -05:00
Markus Reiter
ed10135da4 Replace Hbc.load with CaskLoader.load. 2017-03-16 19:16:42 +01:00
Markus Reiter
9f7d86b97c Add #installed_caskfile method to Cask class. 2017-03-12 21:59:13 +01:00
Raymond Wanyoike
0d67e35fb7 cask reinstall: use fetch and stage steps from #1620 2016-12-05 12:08:55 +03:00
Raymond Wanyoike
55ef924e7a cask reinstall: download and verify cask before uninstall
Closes: caskroom/homebrew-cask#27075
2016-12-04 13:37:26 +03:00
Markus Reiter
bd9755fd78 Load cask file in .metadata directory directly. 2016-11-18 23:02:58 +01:00
Martin Schimandl
95d4a25891 Fix linting errors 2016-10-23 20:39:53 +02:00
Martin Schimandl
31fb996800 Remove unncessary semicolon 2016-10-23 09:57:28 +02:00
Martin Schimandl
a4e092a1c4 add cask reinstall command 2016-10-14 19:25:44 +02:00