43 44 45 46 47 48 49 50
# File 'lib/mapstatic/cli.rb', line 43 def map(filename) params = Hash[options.map{|(k,v)| [k.to_sym,v]}] map = Mapstatic::Map.new(params) map.render_map(filename) unless options[:dryrun] ap map.metadata end