Skip to content

Commit

Permalink
$ github-markup FILE.md
Browse files Browse the repository at this point in the history
  • Loading branch information
defunkt committed Mar 11, 2010
1 parent d8d6cbb commit 3fd382f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions bin/github-markup
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 3fd382f

Please sign in to comment.