mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
19 lines
320 B
Ruby
19 lines
320 B
Ruby
module Hbc
|
|
class CLI
|
|
class InternalDump < AbstractInternalCommand
|
|
def initialize(*)
|
|
super
|
|
raise CaskUnspecifiedError if args.empty?
|
|
end
|
|
|
|
def run
|
|
casks.each(&:dumpcask)
|
|
end
|
|
|
|
def self.help
|
|
"dump the given Cask in YAML format"
|
|
end
|
|
end
|
|
end
|
|
end
|