You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

16 lines
331 B

module Cask::CLI::Home
def self.run(*cask_names)
cask_names.each do |cask_name|
begin
cask = Cask.load(cask_name)
system "open", cask.homepage
rescue CaskUnavailableError => e
onoe e
end
end
end
def self.help
"opens the homepage of the cask of the given name"
end
end