22 lines
419 B
Ruby
Raw Normal View History

2018-09-03 20:17:29 +01:00
require "cask/cmd/abstract_command"
require "cmd/search"
module Hbc
class CLI
module Compat
class Search < AbstractCommand
def run
odeprecated "`brew cask search`", "`brew search`", disable_on: Time.new(2018, 9, 30)
2018-06-23 01:31:16 +02:00
Homebrew.search(args.empty? ? "--casks" : args)
end
def self.visible
false
end
end
end
prepend Compat
end
end