39 40 41 42 43 44 45 46 47
# File 'lib/bismas/cli/xml.rb', line 39 def run(arguments) quit unless arguments.empty? if TYPES.include?(type = options[:type]) Bismas.to_xml(options, &method(:quit)) else unsupported_type(type) end end