$ github-markup FILE.md
Chris Wanstrath chris@ozmm.org
Thu, 11 Mar 2010 14:17:55 -0800
1 files changed,
10 insertions(+),
0 deletions(-)
jump to
A
bin/github-markup
@@ -0,0 +1,10 @@
+#!/usr/bin/env ruby + +$LOAD_PATH.unshift File.dirname(__FILE__) + "/../lib" +require 'github/markup' + +if ARGV[0] && File.exists?(file = ARGV[0]) + puts GitHub::Markup.render(file) +else + puts "usage: #$0 FILE" +end