1
0
Fork 1
mirror of https://github.com/wezm/wezm.net.git synced 2024-12-25 21:49:53 +00:00
wezm.net/v1/script/importer/import.rb

12 lines
222 B
Ruby

require 'rubygems'
require 'wordpress'
if ARGV.size < 3
puts "Usage importer.rb worpress-export.xml /path/to/nanoc/site /path/to/rewrite_map"
exit 3
end
i = Importer::Wordpress.new(ARGV[0], ARGV[1], ARGV[2])
i.run