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.
17 lines
331 B
17 lines
331 B
12 years ago
|
module Cask::CLI::Home
|
||
12 years ago
|
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
|