36 Commits

Author SHA1 Message Date
Markus Reiter
08be729af0 Support all cask options in brew install. 2020-09-27 22:54:57 +02:00
Mike McQuaid
2e5272d04c Deprecate/disable code for Homebrew 2.5.0.
Do the usual "disable deprecations" and "uncomment pending deprecations"
dance and delete/deprecate/disable relevant/related code.
2020-09-03 10:34:22 +01:00
Markus Reiter
8fc4ac0ad7 Document Cask::Cmd. 2020-08-26 03:13:59 +02:00
Mike McQuaid
3a91c37e66
Fix RuboCop checks. 2020-08-19 17:12:32 +01:00
William Ma
b123fca227 cask: Add TODOs to deprecate integrated cask cmds 2020-08-18 12:27:49 -04:00
Markus Reiter
60c4e22eb0 Add missing help methods for external cask commands. 2020-08-13 22:25:13 +02:00
Markus Reiter
b48bc316e0 Use CLI::Parser for cask commands. 2020-08-13 05:15:15 +02:00
Markus Reiter
490e503b1b Replace Homebrew.args with Context. 2020-08-06 16:13:14 +02:00
Mike McQuaid
2100335441
Merge pull request #8049 from MLH-Fellowship/cask-commands
commands: Print cask commands
2020-07-27 12:44:21 +01:00
Markus Reiter
abaf9c40ae Fix code style. 2020-07-22 01:09:14 +02:00
Markus Reiter
75cfe41450 Fix infinite loop. 2020-07-22 01:09:14 +02:00
Markus Reiter
8d148b1fbc Remove special-casing of MacOS::languages. 2020-07-22 01:09:14 +02:00
William Ma
3bbffdd1d7 commands: Print cask commands 2020-07-20 13:18:09 -04:00
Mike McQuaid
aa81982aba
brew style --fix 2020-06-02 09:49:23 +01:00
Mike McQuaid
bc27e38f18
Remove ARGV.debug?
Replace with `Homebrew.args.debug?`.

Part of #5730.
2020-05-23 14:38:58 +01:00
Markus Reiter
7f400d8e4e Fix brew cask <command> --help. 2020-05-19 19:30:46 +02:00
Zach Auten
e877a52fa6 Fix exception when calling "brew cask" with --help and no subcommand 2020-05-14 01:17:33 -04:00
Mike McQuaid
12bdb38663
rubocop: brew style --fix autocorrections. 2020-05-12 08:32:27 +01:00
Markus Reiter
30c313b7b9 Refactor cask command parsing logic. 2020-04-11 01:29:44 +02:00
Dario Vladovic
3a21ca8956
Implement mdimporter cask stanza 2020-04-06 15:24:14 +02:00
Markus Reiter
40a0b8b10a Fix missing command method. 2019-10-15 17:39:15 +02:00
Issy Long
341ea60807
Auto-fix Style/RedundantBegin offenses
- This also required auto-fixes for Layout/EmptyLinesAroundBlockBody and
  Layout/InconsistentIndentation once the auto-fixer had got rid of the
  "redundant begin"s.
2019-10-13 16:04:27 +01:00
Jacob Ford
ea0150f7a3 Make invalid command error language consistent with brew core 2019-10-04 14:27:32 -04:00
Ninan John
aed6bc194d Show correct message when invalid arguments are passed to brew 2019-10-03 14:21:24 +05:30
Markus Reiter
fca5950748 Remove brew cask automerge. 2019-08-21 11:12:36 +02:00
Cheng XU
169ac2d413
cask: add new --cache command
It prints the file used to cache Casks.

This can be used to help users to install casks with their files
downloaded from outside brew.

See #6157.
2019-05-23 15:28:00 +08:00
Markus Reiter
3b745084ae Fix brew cask style. 2019-05-01 15:14:38 +02:00
Mike McQuaid
36dbad3922
Add frozen_string_literal to all files. 2019-04-20 13:27:36 +09:00
Markus Reiter
57fefff942 Add brew cask automerge command. 2019-02-15 16:27:37 +01:00
Markus Reiter
defbf7d74c Don’t ignore other arguments in HOMEBREW_CASK_OPTS. 2019-02-15 10:09:14 +01:00
Markus Reiter
fda6e0cab3 Split cask config into three tiers. 2019-02-15 10:09:14 +01:00
Markus Reiter
e9b9ea49a1 Update to RuboCop 0.59.1. 2018-09-17 03:45:59 +02:00
Markus Reiter
a84a1c63db Rename Hbc module to Cask. 2018-09-06 09:30:52 +02:00
Markus Reiter
ac2cd67861 Deprecate brew cask --version. 2018-09-06 07:05:22 +02:00
Mike McQuaid
1ae2326984
Rename Cask::CLI to Cask::Cmd. 2018-09-04 09:56:58 +01:00
Mike McQuaid
1d86d7a7c7
cask: move cask/cli to cask/cmd. 2018-09-04 09:56:57 +01:00