File: gitlab-markup

package info (click to toggle)
ruby-gitlab-markup 1.9.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 504 kB
  • sloc: ruby: 369; python: 137; sh: 16; makefile: 15
file content (10 lines) | stat: -rwxr-xr-x 212 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
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