1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
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