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
338 B

class Cask::CLI::Install
def self.run(*cask_names)
cask_names.each do |cask_name|
cask = begin
Cask.load(cask_name)
rescue CaskUnavailableError => e
onoe e
end
cask.install if cask
end
end
def self.help
"installs the cask of the given name"
end
end