hatena2md.rb �2H�U ��,H�U require "bundler/inline" require "pathname" require "time" require "uri" abort "[USAGE]: hatena2md <exported file> <output dir>" if ARGV.length < 2 exported_file_path = ARGV[0] output_dir = Pathname.new(ARGV[1]) output_dir.mkpath unless output_dir.exist? gemfile do source "https://rubygems.org" gem "nokogiri" gem "reverse_markdown" end Article = Struct.new("Article", :tit