Sha256: 050d0dce1b6bac2d79b056bb23ba1815fbc730c3b1fcdec9b7befa577cf3de6a

Contents?: true

Size: 365 Bytes

Versions: 3

Compression:

Stored size: 365 Bytes

Contents

#!/usr/bin/env ruby

require 'pathname'
ROOT_DIR = Pathname.new(__FILE__).dirname.parent
$:.push(ROOT_DIR.join('lib').to_s)
load ROOT_DIR.join('lib/rouge.rb')
load ROOT_DIR.join('lib/rouge/cli.rb')

begin
  Rouge::CLI.parse(ARGV).run
rescue Rouge::CLI::Error => e
  puts e.message
  exit e.status
rescue Interrupt
  $stderr.puts "\nrouge: interrupted"
  exit 2
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rouge-1.2.0 bin/rougify
rouge-1.1.0 bin/rougify
rouge-0.5.4 bin/rougify