summaryrefslogtreecommitdiff
path: root/bin/page
blob: ca8b5bd02d54992430c34999d30222cd4f28f5c7 (plain)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/env ruby
# -*- coding: utf-8 -*-
load 'util.rb'

template = "bin/page.#{ARGV[0]}.erb"
@page = Page.new(ARGV[1])

erb = ERB.new(File.read(template));
erb.filename = template
erb.run()