mirror of
https://github.com/donl/homebrew-cask-versions.git
synced 2026-07-17 06:16:47 -06:00
* was already done, but inconsistently * this style follows homebrew Formula * covers user-facing messages, test titles, comments * some related minor orthography is included, such as the consistent spelling of our project name as "homebrew-cask" * grammar nits
15 lines
403 B
Ruby
15 lines
403 B
Ruby
class Cask::CLI::Zap < Cask::CLI::Base
|
|
def self.run(*args)
|
|
cask_names = cask_names_from(args)
|
|
raise CaskUnspecifiedError if cask_names.empty?
|
|
cask_names.each do |cask_name|
|
|
odebug "Zapping Cask #{cask_name}"
|
|
cask = Cask.load(cask_name)
|
|
Cask::Installer.new(cask).zap
|
|
end
|
|
end
|
|
|
|
def self.help
|
|
"zaps all files associated with the Cask of the given name"
|
|
end
|
|
end
|