bin/shinmun in shinmun-0.1 vs bin/shinmun in shinmun-0.2
- old
+ new
@@ -5,8 +5,13 @@
blog = Shinmun::Blog.new
case ARGV[0]
when 'new'
blog.create_post(ARGV[1])
-else
+
+when 'render'
blog.write_all
+
+when 'push'
+ blog.push
+
end
- old
+ new