2017-10-18 14:39:09 +02:00

20 lines
495 B
Ruby

require "cask/lib/hbc/cli/options"
module Hbc
class CLI
include Options
option "--binarydir=PATH", (lambda do |*|
opoo <<~EOS
Option --binarydir is obsolete!
Homebrew-Cask now uses the same location as your Homebrew installation for executable links.
EOS
end)
option "--caskroom=PATH", (lambda do |value|
Hbc.caskroom = value
odeprecated "`brew cask` with the `--caskroom` flag", disable_on: Time.utc(2017, 10, 31)
end)
end
end